:right-sidebar: True TimeZone =================================================================== .. currentmodule:: gi.repository.GObject .. class:: TimeZone(**kwargs) :no-contents-entry: :Constructors: :: new(identifier:str=None) -> GLib.TimeZone new_identifier(identifier:str=None) -> GLib.TimeZone or None new_local() -> GLib.TimeZone new_offset(seconds:int) -> GLib.TimeZone new_utc() -> GLib.TimeZone Constructors ------------ .. rst-class:: interim-class .. class:: TimeZone :no-index: .. classmethod:: new(identifier: str | None = None) -> ~gi.repository.GLib.TimeZone :param identifier: .. classmethod:: new_identifier(identifier: str | None = None) -> ~gi.repository.GLib.TimeZone | None :param identifier: .. classmethod:: new_local() -> ~gi.repository.GLib.TimeZone .. classmethod:: new_offset(seconds: int) -> ~gi.repository.GLib.TimeZone :param seconds: .. classmethod:: new_utc() -> ~gi.repository.GLib.TimeZone Methods ------- .. rst-class:: interim-class .. class:: TimeZone :no-index: .. method:: adjust_time(type: ~gi.repository.GLib.TimeType, time_: int) -> ~typing.Tuple[int, int] :param type: :param time_: .. method:: find_interval(type: ~gi.repository.GLib.TimeType, time_: int) -> int :param type: :param time_: .. method:: get_abbreviation(interval: int) -> str :param interval: .. method:: get_identifier() -> str .. method:: get_offset(interval: int) -> int :param interval: .. method:: is_dst(interval: int) -> bool :param interval: