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

#include <bdlt_datetzformatter.h>

Detailed Description

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

See bdlt_datetzformatter

Public Member Functions

 DateTzFormatter_Cache (const Date &date, int offset)
 
const DateFormatter_Cachedate () const
 
int offset () const
 

Constructor & Destructor Documentation

◆ DateTzFormatter_Cache()

bdlt::DateTzFormatter_Cache::DateTzFormatter_Cache ( const Date date,
int  offset 
)
inline

Cache a copy of the specified date and offset.

Member Function Documentation

◆ date()

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

Return the DateFormatter_Cache held by this object.

◆ offset()

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

Return the offset.


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