#include <bdlt_timeformatter.h>
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.
See bdlt_timeformatter
◆ TimeFormatter_Cache()
| bdlt::TimeFormatter_Cache::TimeFormatter_Cache |
( |
const Time & |
value | ) |
|
|
inlineexplicit |
Populate all the data members of this class with a call to getTime on the specified value.
◆ hour()
| int bdlt::TimeFormatter_Cache::hour |
( |
| ) |
const |
|
inline |
Return the cached hour field.
◆ microsecond()
| int bdlt::TimeFormatter_Cache::microsecond |
( |
| ) |
const |
|
inline |
Return the cached microsecond field.
◆ millisecond()
| int bdlt::TimeFormatter_Cache::millisecond |
( |
| ) |
const |
|
inline |
Return the cached millisecone field.
◆ minute()
| int bdlt::TimeFormatter_Cache::minute |
( |
| ) |
const |
|
inline |
Return the cached minute field.
◆ second()
| int bdlt::TimeFormatter_Cache::second |
( |
| ) |
const |
|
inline |
Return the cached second field.
The documentation for this class was generated from the following file: