BDE 4.14.0 Production release
Loading...
Searching...
No Matches
baltzo::ZoneinfoTransition Class Reference

#include <baltzo_zoneinfo.h>

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (ZoneinfoTransition, bslmf::IsBitwiseMoveable)
 
 ~ZoneinfoTransition ()
 Destroy this object.
 
const LocalTimeDescriptordescriptor () const
 
bdlt::EpochUtil::TimeT64 utcTime () const
 Return the value of the utcTime attribute of this object.
 
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 baltzo_zoneinfo

Constructor & Destructor Documentation

◆ ~ZoneinfoTransition()

baltzo::ZoneinfoTransition::~ZoneinfoTransition ( )
inline

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION()

baltzo::ZoneinfoTransition::BSLMF_NESTED_TRAIT_DECLARATION ( ZoneinfoTransition  ,
bslmf::IsBitwiseMoveable   
)

◆ descriptor()

const LocalTimeDescriptor & baltzo::ZoneinfoTransition::descriptor ( ) const
inline

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

◆ print()

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.

◆ utcTime()

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

Friends And Related Symbol Documentation

◆ Zoneinfo

friend class Zoneinfo
friend

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