BloombergLP::bdlt::DatetimeTzFormatter::parseNextSpecifier

Parse the next recognized datetime-tz format specifier from *specInOut.

Synopsis

Declared in <bdlt_datetimetzformatter.h>

constexpr
bool
parseNextSpecifier(StringView* specInOut);

Description

If the first character of the specified *specInOut is recognized by this specifier formatter, parse it, remove it from *specInOut, and return true, otherwise return false with no modification to *specInOut. The behavior is undefined if *specInOut is empty.

Return Value

true if a specifier was consumed

Parameters

NameDescription
specInOutremaining format specification