Companion

object Companion

Functions

Link copied to clipboard
fun getType(): <Error class: unknown class>

Get the GType of TimeZone

Link copied to clipboard
fun new(identifier: String? = null): TimeZone

A version of g_time_zone_new_identifier() which returns the UTC time zone if @identifier could not be parsed or loaded.

Link copied to clipboard
fun newIdentifier(identifier: String? = null): TimeZone?

Creates a #GTimeZone corresponding to @identifier. If @identifier cannot be parsed or loaded, null is returned.

Link copied to clipboard

Creates a #GTimeZone corresponding to local time. The local time zone may change between invocations to this function; for example, if the system administrator changes it.

Link copied to clipboard
fun newOffset(seconds: <Error class: unknown class>): TimeZone

Creates a #GTimeZone corresponding to the given constant offset from UTC, in seconds.

Link copied to clipboard

Creates a #GTimeZone corresponding to UTC.