Gjsify LogoGjsify Logo

A timezone.

Timezones are global to the GWeather world (as obtained by gweather_location_get_world()); they can be gotten by passing gweather_timezone_get_by_tzid() with a tzid like "America/New_York" or "Europe/London".

record

Hierarchy

  • Timezone

Index

Constructors

Properties

name: string

Methods

  • get_dst_offset(): number
  • Gets zone's daylight/summer time offset from UTC, in minutes. Eg, a value of 120 would indicate "GMT+2". This is only meaningful if gweather_timezone_has_dst() returns %TRUE.

    Returns number

  • get_name(): string
  • Gets zone's name; a translated, user-presentable string.

    Note that the returned name might not be unique among timezones, and may not make sense to the user unless it is presented along with the timezone's country's name (or in some context where the country is obvious).

    Returns string

  • get_offset(): number
  • get_tzid(): string
  • has_dst(): boolean
  • unref(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method