[#BloombergLP-bdlt-TimeFormatter_Cache] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::TimeFormatter_Cache :relfileprefix: ../../ :mrdocs: This `class` facilitates faster access to a `Time` 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_timeformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TimeFormatter_Cache; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/TimeFormatter_Cache/2constructor.adoc[`TimeFormatter_Cache`] [.small]#[constructor]# | Populate all the data members of this `class` with a call to `getTime` on the specified `value`. | xref:BloombergLP/bdlt/TimeFormatter_Cache/hour.adoc[`hour`] | Return the cached `hour` field. | xref:BloombergLP/bdlt/TimeFormatter_Cache/microsecond.adoc[`microsecond`] | Return the cached `microsecond` field. | xref:BloombergLP/bdlt/TimeFormatter_Cache/millisecond.adoc[`millisecond`] | Return the cached `millisecone` field. | xref:BloombergLP/bdlt/TimeFormatter_Cache/minute.adoc[`minute`] | Return the cached `minute` field. | xref:BloombergLP/bdlt/TimeFormatter_Cache/second.adoc[`second`] | Return the cached `second` field. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#