BloombergLP::baltzo::TimeZoneUtil

Namespace for utilities that convert times between time zones.

Synopsis

Declared in <baltzo_timezoneutil.h>

struct TimeZoneUtil;

Description

This struct provides a namespace for utility functions that convert time values to, from, and between, their corresponding local time representations in (possibly) different time zones.

These utility functions are: * alias-safe * exception-neutral (agnostic) * thread-safe For terminology see {bsldoc_glossary}.

Static Member Functions

NameDescription
addInterval Add interval to originalTime in its local time zone.
convertLocalToLocalTime convertLocalToLocalTime overloads
convertLocalToUtc convertLocalToUtc overloads
convertUtcToLocalTime convertUtcToLocalTime overloads
initLocalTime initLocalTime overloads
loadLocalTimePeriod loadLocalTimePeriod overloads
loadLocalTimePeriodForUtc Load local-time period attributes for utcTime in timeZoneId.
now Load the current local time into result.
validateLocalTime validateLocalTime overloads