BloombergLP::bdlt::TimeFormatter::formatNextSpecifier

Format one recognized specifier from *specInOut into *outIt.

Synopsis

Declared in <bdlt_timeformatter.h>

template<class t_ITERATOR>
bool
formatNextSpecifier(
    StringView* specInOut,
    t_ITERATOR* outIt,
    FormatCache const& value) const;

Description

If the first character of the specified *specInOut is recognized by this specifier formatter, use it to format the specified value 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
valuecached time fields to format