Cached DatetimeTz fields for faster formatting.
Declared in <bdlt_datetimetzformatter.h>
class DatetimeTzFormatter_Cache;
This class facilitates faster access to a DatetimeTz object during printing by batching access to several fields per call during construction and caching them for quick access later.
| Name | Description |
|---|---|
DatetimeTzFormatter_Cache [constructor] | Create a DatetimeTz format cache using the specified datetime and offset. |
datetime | Return the Datetime format cache. |
offset | Return the UTC offset (in minutes) held by this cache. |