Quick Links:

bal | bbl | bdl | bsl

Classes | Functions

baltzo Namespace Reference
[Component baltzo_datafileloaderComponent baltzo_defaultzoneinfocacheComponent baltzo_dstpolicyComponent baltzo_errorcodeComponent baltzo_loaderComponent baltzo_localdatetimeComponent baltzo_localtimedescriptorComponent baltzo_localtimeoffsetutilComponent baltzo_localtimeperiodComponent baltzo_localtimevalidityComponent baltzo_testloaderComponent baltzo_timezoneutilComponent baltzo_timezoneutilimpComponent baltzo_windowstimezoneutilComponent baltzo_zoneinfoComponent baltzo_zoneinfobinaryheaderComponent baltzo_zoneinfobinaryreaderComponent baltzo_zoneinfocacheComponent baltzo_zoneinfoutil]

Classes

class  DataFileLoader
struct  DefaultZoneinfoCache
class  DefaultZoneinfoCacheScopedGuard
struct  DstPolicy
struct  ErrorCode
class  Loader
class  LocalDatetime
class  LocalTimeDescriptor
struct  LocalTimeOffsetUtil
class  LocalTimePeriod
struct  LocalTimeValidity
class  TestLoader
struct  TimeZoneUtil
struct  TimeZoneUtilImp
struct  WindowsTimeZoneUtil
class  ZoneinfoTransition
class  Zoneinfo
class  ZoneinfoBinaryHeader
struct  ZoneinfoBinaryReader
class  ZoneinfoCache
struct  ZoneinfoUtil

Functions

bsl::ostream & operator<< (bsl::ostream &stream, DstPolicy::Enum value)
bsl::ostream & operator<< (bsl::ostream &stream, ErrorCode::Enum value)
bool operator== (const LocalDatetime &lhs, const LocalDatetime &rhs)
bool operator!= (const LocalDatetime &lhs, const LocalDatetime &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const LocalDatetime &object)
void swap (LocalDatetime &a, LocalDatetime &b)
bool operator== (const LocalTimeDescriptor &lhs, const LocalTimeDescriptor &rhs)
bool operator!= (const LocalTimeDescriptor &lhs, const LocalTimeDescriptor &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const LocalTimeDescriptor &object)
void swap (LocalTimeDescriptor &a, LocalTimeDescriptor &b)
bool operator== (const LocalTimePeriod &lhs, const LocalTimePeriod &rhs)
bool operator!= (const LocalTimePeriod &lhs, const LocalTimePeriod &rhs)
std::ostream & operator<< (bsl::ostream &stream, const LocalTimePeriod &object)
void swap (LocalTimePeriod &a, LocalTimePeriod &b)
bsl::ostream & operator<< (bsl::ostream &stream, LocalTimeValidity::Enum value)
bsl::ostream & operator<< (bsl::ostream &stream, const TestLoader &loader)
bool operator== (const ZoneinfoTransition &lhs, const ZoneinfoTransition &rhs)
bool operator!= (const ZoneinfoTransition &lhs, const ZoneinfoTransition &rhs)
bool operator< (const ZoneinfoTransition &lhs, const ZoneinfoTransition &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const ZoneinfoTransition &object)
bool operator== (const Zoneinfo &lhs, const Zoneinfo &rhs)
bool operator!= (const Zoneinfo &lhs, const Zoneinfo &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const Zoneinfo &object)
void swap (Zoneinfo &a, Zoneinfo &b)
bool operator== (const ZoneinfoBinaryHeader &lhs, const ZoneinfoBinaryHeader &rhs)
bool operator!= (const ZoneinfoBinaryHeader &lhs, const ZoneinfoBinaryHeader &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const ZoneinfoBinaryHeader &object)
void swap (baltzo::ZoneinfoBinaryHeader &a, baltzo::ZoneinfoBinaryHeader &b)

Function Documentation

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
DstPolicy::Enum  value 
)

Write the string representation of the specified enumeration value to the specified output stream in a single-line format, and return a reference to stream. See toAscii for what constitutes the string representation of a baltzo::DstPolicy::Enum value. Note that this method has the same behavior as

      baltzo::DstPolicy::print(stream, value, 0, -1);
bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
ErrorCode::Enum  value 
)

Write the string representation of the specified enumeration value to the specified output stream in a single-line format, and return a reference to stream. See toAscii for what constitutes the string representation of a baltzo::ErrorCode::Enum value. Note that this method has the same behavior as

      baltzo::ErrorCode::print(stream, value, 0, -1);
bool baltzo::operator== ( const LocalDatetime &  lhs,
const LocalDatetime &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two LocalDatetime objects have the same value if all of the corresponding values of their datetimeTz and timeZoneId attributes are the same.

bool baltzo::operator!= ( const LocalDatetime &  lhs,
const LocalDatetime &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two LocalDatetime objects do not have the same value if any of the corresponding values of their datetimeTz or timeZoneId attributes are not the same.

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const LocalDatetime &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1) with the attribute names elided.

void baltzo::swap ( LocalDatetime &  a,
LocalDatetime &  b 
)

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

bool baltzo::operator== ( const LocalTimeDescriptor &  lhs,
const LocalTimeDescriptor &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two LocalTimeDescriptor objects have the same value if all of the corresponding values of their utcOffsetInSeconds, dstInEffectFlag, and description attributes are the same.

bool baltzo::operator!= ( const LocalTimeDescriptor &  lhs,
const LocalTimeDescriptor &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two LocalTimeDescriptor objects do not have the same value if any of the corresponding values of their utcOffsetInSeconds, dstInEffectFlag, or description attributes are not the same.

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const LocalTimeDescriptor &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a non-'const' reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1), but with the attribute names elided.

void baltzo::swap ( LocalTimeDescriptor &  a,
LocalTimeDescriptor &  b 
)

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

bool baltzo::operator== ( const LocalTimePeriod &  lhs,
const LocalTimePeriod &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two LocalTimePeriod objects have the same value if each of their corresponding descriptor, utcStartTime, and utcEndTime attributes have the same value.

bool baltzo::operator!= ( const LocalTimePeriod &  lhs,
const LocalTimePeriod &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two LocalTimePeriod objects do not have the same value if the corresponding values of their descriptor, utcStartTime, or utcEndTime attributes are not the same.

std::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const LocalTimePeriod &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1).

void baltzo::swap ( LocalTimePeriod &  a,
LocalTimePeriod &  b 
)

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
LocalTimeValidity::Enum  value 
)

Write the string representation of the specified enumeration value to the specified output stream in a single-line format, and return a reference to stream. See toAscii for what constitutes the string representation of a baltzo::LocalTimeValidity::Enum value. Note that this method has the same behavior as

      baltzo::LocalTimeValidity::print(stream, value, 0, -1);
bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const TestLoader &  loader 
)

Write the set of time zones maintained by the specified loader to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified, can change without notice, and is logically equivalent to:

      print(stream, 0, -1);
bool baltzo::operator== ( const ZoneinfoTransition &  lhs,
const ZoneinfoTransition &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two ZoneinfoTransition objects have the same value if the corresponding value of their utcTime attribute is the same and both refer to the same descriptor address.

bool baltzo::operator!= ( const ZoneinfoTransition &  lhs,
const ZoneinfoTransition &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two ZoneinfoTransition objects do not have the same value if the corresponding value of their utcTime is not the same or if they do not refer to the same descriptor address.

bool baltzo::operator< ( const ZoneinfoTransition &  lhs,
const ZoneinfoTransition &  rhs 
)

Return true if the value of the specified lhs is less than (ordered before) the value of the specified rhs. Note that the value of lhs is less than the value of rhs if the value of the utcTime attribute of lhs is less than the value of the utcTime attribute of rhs.

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const ZoneinfoTransition &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1) with the attribute names elided.

bool baltzo::operator== ( const Zoneinfo &  lhs,
const Zoneinfo &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two Zoneinfo objects have the same value if the corresponding value of their identifier attribute is the same and if both store the same sequence of transitions, ordered by time.

bool baltzo::operator!= ( const Zoneinfo &  lhs,
const Zoneinfo &  rhs 
)

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two Zoneinfo objects do not have the same value if their corresponding identifier attribute does not have the same value, or if both do not store the same sequence of transitions, ordered by time.

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const Zoneinfo &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified, can change without notice, and is logically equivalent to:

      print(stream, 0, -1);
void baltzo::swap ( Zoneinfo &  a,
Zoneinfo &  b 
)

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

bool baltzo::operator== ( const ZoneinfoBinaryHeader &  lhs,
const ZoneinfoBinaryHeader &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two ZoneinfoBinaryHeader objects have the same value if the corresponding values of their version, numIsGmt, numIsStd, numLeaps, numTransitions, numLocalTimeTypes, and abbrevDataSize attributes are the same.

bool baltzo::operator!= ( const ZoneinfoBinaryHeader &  lhs,
const ZoneinfoBinaryHeader &  rhs 
)

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two ZoneinfoBinaryHeader objects do not have the same value if the corresponding values of their version, numIsGmt, numIsStd, numLeaps, numTransitions, numLocalTimeTypes, or abbrevDataSize attributes are not the same.

bsl::ostream& baltzo::operator<< ( bsl::ostream &  stream,
const ZoneinfoBinaryHeader &  object 
)

Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1).

void baltzo::swap ( baltzo::ZoneinfoBinaryHeader a,
baltzo::ZoneinfoBinaryHeader b 
)

Efficiently exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee.