This unconstrained in‐core value‐semantic class characterizes a transition when a time zone's local time value changes.

Synopsis

Declared in <baltzo_zoneinfo.h>

class ZoneinfoTransition;

Description

This class is an unconstrained in‐core value‐semantic class that characterizes a transition when the local time value of a time‐zone changes. The salient attributes of this type are the utcTime (representing seconds from UTC), and descriptor representing the local time value after the transition.

Member Functions

Name

Description

~ZoneinfoTransition [destructor]

Destroy this object.

descriptor

Return a reference providing non‐modifiable access to the descriptor attribute of this object.

print

Write the value of this object to the specified output stream.

utcTime

Return the value of the utcTime attribute of this object.

operator BloombergLP::bslmf::NestedTraitDeclaration<ZoneinfoTransition, IsBitwiseMoveable>

Nested trait declaration for bslmf::IsBitwiseMoveable.

Friends

Name

Description

BloombergLP::baltzo::Zoneinfo

This value‐semantic type holds Zoneinfo (or "Olson") time‐zone data for a single locale.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise.

operator<

Return whether lhs is ordered before rhs by UTC time.

operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise.

Created with MrDocs