BloombergLP::bdlt::DatetimeTzFormatter_Cache

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.

Synopsis

Declared in <bdlt_datetimetzformatter.h>

class DatetimeTzFormatter_Cache;

Member Functions

NameDescription
DatetimeTzFormatter_Cache [constructor]Create a DatetimeTz format cache using the specified datetime and offset.
datetime Return the Datetime format cache.
offset Return the offset.