BloombergLP::bdlt::TimeTzFormatter_Cache

This class facilitates faster access to a TimeTz 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_timetzformatter.h>

class TimeTzFormatter_Cache;

Member Functions

NameDescription
TimeTzFormatter_Cache [constructor]Populate the time format cache with the time portion of the specified value and cache the timezone offset.
offset Return the offset.
time Return the time format cache.