Companion

object Companion : RecordCompanion<TimeZone, <Error class: unknown class>>

Functions

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: Int): TimeZone

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

Link copied to clipboard

Creates a #GTimeZone corresponding to UTC.

Link copied to clipboard
open override fun wrapRecordPointer(pointer: <Error class: unknown class><out <Error class: unknown class>>): TimeZone

Wrap a CPointer pointing to a record of this type into its wrapper class.