Cached Time fields for faster formatting.
Declared in <bdlt_timeformatter.h>
class TimeFormatter_Cache;
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.
| Name | Description |
|---|---|
TimeFormatter_Cache [constructor] | Cache the fields of the specified value for later formatting. |
hour | Return the cached hour field. |
microsecond | Return the cached microsecond field. |
millisecond | Return the cached millisecond field. |
minute | Return the cached minute field. |
second | Return the cached second field. |