BloombergLP::bdlt::DateTzFormatter_Cache

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.

Synopsis

Declared in <bdlt_datetzformatter.h>

class DateTzFormatter_Cache;

Member Functions

NameDescription
DateTzFormatter_Cache [constructor]Cache a copy of the specified date and offset.
date Return the DateFormatter_Cache held by this object
offset Return the offset.