[#BloombergLP-bdlt-TimeFormatter_Cache]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::TimeFormatter&lowbar;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&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;timeformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class TimeFormatter&lowbar;Cache;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/TimeFormatter_Cache/2constructor.adoc[`TimeFormatter&lowbar;Cache`]         [.small]#[constructor]#
| Populate all the data members of this `class` with a call to `getTime` on the specified `value`&period;
| xref:BloombergLP/bdlt/TimeFormatter_Cache/hour.adoc[`hour`] 
| Return the cached `hour` field&period;
| xref:BloombergLP/bdlt/TimeFormatter_Cache/microsecond.adoc[`microsecond`] 
| Return the cached `microsecond` field&period;
| xref:BloombergLP/bdlt/TimeFormatter_Cache/millisecond.adoc[`millisecond`] 
| Return the cached `millisecone` field&period;
| xref:BloombergLP/bdlt/TimeFormatter_Cache/minute.adoc[`minute`] 
| Return the cached `minute` field&period;
| xref:BloombergLP/bdlt/TimeFormatter_Cache/second.adoc[`second`] 
| Return the cached `second` field&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
