BloombergLP::bdlt::DatetimeFormatter_Cache

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.

Synopsis

Declared in <bdlt_datetimeformatter.h>

class DatetimeFormatter_Cache;

Member Functions

NameDescription
DatetimeFormatter_Cache [constructor]Create a format cache initialized with the specified value.
date Return the date format cache held by this object.
time Return the time format cache held by this object.