Enumeration

GLibTimeType

since: 2.0

Declaration

enum GLib.TimeType

Description

Disambiguates a given time in two ways.

First, specifies if the given time is in universal or local time.

Second, if the time is in local time, specifies if it is local standard time or local daylight time. This is important for the case where the same local time occurs twice (during daylight savings time transitions, for example).

Available since: 2.0

Members

G_TIME_TYPE_STANDARD

The time is in local standard time.

  • Value: 0
  • Nickname: None
  • Available since: 2.0
G_TIME_TYPE_DAYLIGHT

The time is in local daylight time.

  • Value: 1
  • Nickname: None
  • Available since: 2.0
G_TIME_TYPE_UNIVERSAL

The time is in UTC.

  • Value: 2
  • Nickname: None
  • Available since: 2.0