enum GLib::TimeType


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).

Defined in:


Enum Members

Standard = 0_u32

the time is in local standard time

Daylight = 1_u32

the time is in local daylight time

Universal = 2_u32

the time is in UTC

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def daylight? #

[View source]
def standard? #

[View source]
def universal? #

[View source]