BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlt::DatetimeFormatter_Cache Class Reference

#include <bdlt_datetimeformatter.h>

Detailed Description

This class facilitates faster access to a Datetime object during printing by batching access to several fields per call during construction and caching them for quick access later.

See bdlt_datetimeformatter

Public Member Functions

 DatetimeFormatter_Cache (const Datetime &value)
 
const DateFormatter_Cachedate () const
 
const TimeFormatter_Cachetime () const
 

Constructor & Destructor Documentation

◆ DatetimeFormatter_Cache()

bdlt::DatetimeFormatter_Cache::DatetimeFormatter_Cache ( const Datetime value)
inlineexplicit

Create a format cache initialized with the specified value.

Member Function Documentation

◆ date()

const DateFormatter_Cache & bdlt::DatetimeFormatter_Cache::date ( ) const
inline

Return the date format cache held by this object.

◆ time()

const TimeFormatter_Cache & bdlt::DatetimeFormatter_Cache::time ( ) const
inline

Return the time format cache held by this object.


The documentation for this class was generated from the following file: