[#BloombergLP-baltzo-TimeZoneUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::TimeZoneUtil :relfileprefix: ../../ :mrdocs: Namespace for utilities that convert times between time zones. == Synopsis Declared in `<baltzo_timezoneutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baltzo/TimeZoneUtil/addInterval.adoc[`addInterval`] | Add `interval` to `originalTime` in its local time zone. | xref:BloombergLP/baltzo/TimeZoneUtil/convertLocalToLocalTime-01.adoc[`convertLocalToLocalTime`] | `convertLocalToLocalTime` overloads | xref:BloombergLP/baltzo/TimeZoneUtil/convertLocalToUtc-0f.adoc[`convertLocalToUtc`] | `convertLocalToUtc` overloads | xref:BloombergLP/baltzo/TimeZoneUtil/convertUtcToLocalTime-0ec.adoc[`convertUtcToLocalTime`] | `convertUtcToLocalTime` overloads | xref:BloombergLP/baltzo/TimeZoneUtil/initLocalTime-09e2.adoc[`initLocalTime`] | `initLocalTime` overloads | xref:BloombergLP/baltzo/TimeZoneUtil/loadLocalTimePeriod-05.adoc[`loadLocalTimePeriod`] | `loadLocalTimePeriod` overloads | xref:BloombergLP/baltzo/TimeZoneUtil/loadLocalTimePeriodForUtc.adoc[`loadLocalTimePeriodForUtc`] | Load local‐time period attributes for `utcTime` in `timeZoneId`. | xref:BloombergLP/baltzo/TimeZoneUtil/now-0f.adoc[`now`] | Load the current local time into `result`. | xref:BloombergLP/baltzo/TimeZoneUtil/validateLocalTime-0b.adoc[`validateLocalTime`] | `validateLocalTime` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#