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

#include <bdlt_datetimetzformatter.h>

Detailed Description

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

See bdlt_datetimetzformatter

Public Member Functions

 DatetimeTzFormatter_Cache (const Datetime &datetime, int offset)
 
const DatetimeFormatter_Cachedatetime () const
 
int offset () const
 

Constructor & Destructor Documentation

◆ DatetimeTzFormatter_Cache()

bdlt::DatetimeTzFormatter_Cache::DatetimeTzFormatter_Cache ( const Datetime datetime,
int  offset 
)
inline

Create a DatetimeTz format cache using the specified datetime and offset.

Member Function Documentation

◆ datetime()

const DatetimeFormatter_Cache & bdlt::DatetimeTzFormatter_Cache::datetime ( ) const
inline

Return the Datetime format cache.

◆ offset()

int bdlt::DatetimeTzFormatter_Cache::offset ( ) const
inline

Return the offset.


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