BloombergLP::bdlt::Iso8601UtilConfiguration

This unconstrained (value-semantic) attribute class characterizes how to configure certain behavior in Iso8601Util functions.

Synopsis

Declared in <bdlt_iso8601utilconfiguration.h>

class Iso8601UtilConfiguration;

Description

Currently, only the generate and generateRaw methods of that utility are affected by Iso8601UtilConfiguration settings. See the section for information on the class attributes.

Member Functions

NameDescription
Iso8601UtilConfiguration [constructor]Constructors
~Iso8601UtilConfiguration [destructor]Destroy this object.
operator= Assign to this object the value of the specified rhs configuration, and return a reference providing modifiable access to this object.
fractionalSecondPrecision Return the value of the fractionalSecondPrecision attribute of this object.
omitColonInZoneDesignator Return the value of the omitColonInZoneDesignator attribute of this object.
print Write this object to stream in human-readable form.
setFractionalSecondPrecision Set the fractionalSecondPrecision attribute of this object to the specified value. The behavior is undefined unless 0 <= value and 6 >= value.
setOmitColonInZoneDesignator Set the omitColonInZoneDesignator attribute of this object to the specified value.
setUseCommaForDecimalSign Set the useCommaForDecimalSign attribute of this object to the specified value.
setUseZAbbreviationForUtc Set the useZAbbreviationForUtc attribute of this object to the specified value.
useCommaForDecimalSign Return the value of the useCommaForDecimalSign attribute of this object.
useZAbbreviationForUtc Return the value of the useZAbbreviationForUtc attribute of this object.

Static Member Functions

NameDescription
defaultConfiguration Return the value of the process-wide Iso8601UtilConfiguration that is currently in effect.
setDefaultConfiguration Set the process-wide Iso8601UtilConfiguration to the specified configuration.

Friends

NameDescription
BloombergLP::bdlt::operator!=Return true if the configurations differ.
BloombergLP::bdlt::operator==Return true if the specified lhs and rhs have the same value.