BDE 4.14.0 Production release
Loading...
Searching...
No Matches

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  Zoneinfo
 
class  ZoneinfoBinaryHeader
 
struct  ZoneinfoBinaryReader
 
class  ZoneinfoCache
 
class  ZoneinfoTransition
 
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

◆ operator!=() [1/6]

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.

◆ operator!=() [2/6]

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.

◆ operator!=() [3/6]

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.

◆ operator!=() [4/6]

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.

◆ operator!=() [5/6]

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.

◆ operator!=() [6/6]

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.

◆ operator<()

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.

◆ operator<<() [1/10]

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.

◆ operator<<() [2/10]

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.

◆ operator<<() [3/10]

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

◆ operator<<() [4/10]

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);

◆ operator<<() [5/10]

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);

◆ operator<<() [6/10]

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

◆ operator<<() [7/10]

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.

◆ operator<<() [8/10]

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);
static bsl::ostream & print(bsl::ostream &stream, DstPolicy::Enum value, int level=0, int spacesPerLevel=4)

◆ operator<<() [9/10]

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);
static bsl::ostream & print(bsl::ostream &stream, ErrorCode::Enum value, int level=0, int spacesPerLevel=4)

◆ operator<<() [10/10]

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);
static bsl::ostream & print(bsl::ostream &stream, Enum value, int level=0, int spacesPerLevel=4)

◆ operator==() [1/6]

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.

◆ operator==() [2/6]

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.

◆ operator==() [3/6]

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.

◆ operator==() [4/6]

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.

◆ operator==() [5/6]

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.

◆ operator==() [6/6]

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.

◆ swap() [1/5]

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.

◆ swap() [2/5]

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.

◆ swap() [3/5]

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.

◆ swap() [4/5]

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.

◆ swap() [5/5]

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.