[#BloombergLP-bdlt-DatetimeFormatter_Cache] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::DatetimeFormatter_Cache :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class DatetimeFormatter_Cache; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/DatetimeFormatter_Cache/2constructor.adoc[`DatetimeFormatter_Cache`] [.small]#[constructor]# | Create a format cache initialized with the specified `value`. | xref:BloombergLP/bdlt/DatetimeFormatter_Cache/date.adoc[`date`] | Return the date format cache held by this object. | xref:BloombergLP/bdlt/DatetimeFormatter_Cache/time.adoc[`time`] | Return the time format cache held by this object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#