Death::Containers::DateTime::TimeZone class

Represents a timezone that can be used in timezone conversions in DateTime.

Constructors, destructors, conversion operators

TimeZone(Tz tz) noexcept
TimeZone(std::int32_t offset = 0) constexpr noexcept

Public functions

auto IsLocal() const -> bool constexpr noexcept
Returns true if it describes local timezone.
auto GetOffset() const -> std::int32_t noexcept
Returns a time difference from UTC in seconds.