BloombergLP::bdlt::DatetimeTzFormatter::parseNextModifier

Parse a format modifier from the front of *specInOut if present.

Synopsis

Declared in <bdlt_datetimetzformatter.h>

constexpr
bool
parseNextModifier(StringView* specInOut);

Description

Examine the first character of the specified *specInOut and if it is recognized as a modifier by this object, update this object's state to reflect it and pop it off the front of *specInOut and return true, and if not, return false with no modification to *specInOut.

Return Value

true if a modifier was consumed

Parameters

NameDescription
specInOutremaining format specification