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>

class TimeFormatter_Cache;

Member Functions

Name

Description

TimeFormatter_Cache [constructor]

Populate all the data members of this class with a call to getTime on the specified value.

hour

Return the cached hour field.

microsecond

Return the cached microsecond field.

millisecond

Return the cached millisecone field.

minute

Return the cached minute field.

second

Return the cached second field.

Created with MrDocs