BloombergLP::bdlt::DatetimeTzFormatter

This class provides a specifier formatter for printing DatetimeTz objects.

Synopsis

Declared in <bdlt_datetimetzformatter.h>

template<class t_CHAR>
class DatetimeTzFormatter;

Member Functions

NameDescription
DatetimeTzFormatter [constructor]Create an object in its default initial state.
extraSections Return section flags required by this value type.
formatDefault Format value to out using the default datetime-tz layout.
formatIso8601 Format value to out using the ISO 8601 datetime-tz layout.
formatNextSpecifier Format one recognized specifier from *specInOut into *outIt.
parseDefault Parse a date time tz that will be formatted in default mode.
parseIso8601 Parse a date time tz that will be formatted in Iso8601 mode.
parseNextModifier Parse a format modifier from the front of *specInOut if present.
parseNextSpecifier Parse the next recognized datetime-tz 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 value.