Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Friends

baltzo::ZoneinfoTransition Class Reference

#include <baltzo_zoneinfo.h>

List of all members.

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (ZoneinfoTransition, bslmf::IsBitwiseMoveable)
 ~ZoneinfoTransition ()
const LocalTimeDescriptordescriptor () const
bdlt::EpochUtil::TimeT64 utcTime () const
bsl::ostream & print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const

Friends

class Zoneinfo

Detailed 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.

See Component baltzo_zoneinfo


Constructor & Destructor Documentation

baltzo::ZoneinfoTransition::~ZoneinfoTransition (  ) 

Destroy this object.


Member Function Documentation

baltzo::ZoneinfoTransition::BSLMF_NESTED_TRAIT_DECLARATION ( ZoneinfoTransition  ,
bslmf::IsBitwiseMoveable   
)
const LocalTimeDescriptor& baltzo::ZoneinfoTransition::descriptor (  )  const

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

bdlt::EpochUtil::TimeT64 baltzo::ZoneinfoTransition::utcTime (  )  const

Return the value of the utcTime attribute of this object.

bsl::ostream& baltzo::ZoneinfoTransition::print ( bsl::ostream &  stream,
int  level = 0,
int  spacesPerLevel = 4 
) const

Write the value of this object to the specified output stream in a human-readable format, and return a reference to stream. Optionally specify an initial indentation level, whose absolute value is incremented recursively for nested objects. If level is specified, optionally specify spacesPerLevel, whose absolute value indicates the number of spaces per indentation level for this and all of its nested objects. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by level). If stream is not valid on entry, this operation has no effect. Note that the format is not fully specified, and can change without notice.


Friends And Related Function Documentation

friend class Zoneinfo [friend]

The documentation for this class was generated from the following file: