BloombergLP::bdlt::TimeZoneFormatter

This class provides a specifier formatter for printing time zones.

Synopsis

Declared in <bdlt_timezoneformatter.h>

template<class t_CHAR>
class TimeZoneFormatter;

Member Functions

NameDescription
TimeZoneFormatter [constructor]Create an object in its default initial state.
extraSections Return section flags required by this value type.
formatDefault Format offset to out using the default time-zone layout.
formatIso8601 Format offset to out using the ISO 8601 time-zone layout.
formatNextSpecifier Format one recognized specifier from *specInOut into *outIt.
parseDefault Parse a time zone that will be formatted in default mode.
parseIso8601 Parse a time zone that will be formatted in Iso8601 mode.
parseNextModifier Parse a format modifier from the front of *specInOut if present.
parseNextSpecifier Parse the next recognized time-zone format specifier from *specInOut.
postprocess Read post-processed fields from the specified spec that are relevant to this specifier formatter.
totalWidth Return the anticipated formatted width for the specified offset.