BloombergLP::bdlt::TimeZoneFormatter::formatNextSpecifier

Format one recognized specifier from *specInOut into *outIt.

Synopsis

Declared in <bdlt_timezoneformatter.h>

template<class t_ITERATOR>
bool
formatNextSpecifier(
    bsl::basic_string_view<t_CHAR>* specInOut,
    t_ITERATOR* outIt,
    int offset) const;

Description

If the first character of the specified *specInOut is recognized by this specifier formatter, use it to format the time zone indicated by the specified offset to *outIt, remove the character from *specInOut, and return true, otherwise return false with no modification to *specInOut.

Return Value

true if a specifier was formatted

Parameters

NameDescription
specInOutremaining format specification
outItoutput iterator receiving formatted characters
offsetUTC offset in minutes