TimeZone

@Serializable(with = TimeZoneSerializer::class)
actual open class TimeZone(source)

Inheritors

@Serializable(with = TimeZoneSerializer::class)
expect open class TimeZone(source)

A time zone, provides the conversion between Instant and LocalDateTime values using a collection of rules specifying which LocalDateTime value corresponds to each Instant.

Inheritors

@Serializable(with = TimeZoneSerializer::class)
actual open class TimeZone(source)

Inheritors

@Serializable(with = TimeZoneSerializer::class)
actual open class TimeZone(source)

Inheritors

Types

Link copied to clipboard
actual object Companion
expect object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
actual val id: String
expect val id: String

Returns the identifier string of the time zone.

actual val id: String
actual open val id: String

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
actual fun TimeZone.offsetAt(instant: Instant): UtcOffset
expect fun TimeZone.offsetAt(instant: Instant): UtcOffset

Finds the offset from UTC this time zone has at the specified instant of physical time.

actual fun TimeZone.offsetAt(instant: Instant): UtcOffset
actual fun TimeZone.offsetAt(instant: Instant): UtcOffset
Link copied to clipboard

Returns an instant that corresponds to this civil date/time value in the time zone provided as an implicit receiver.

Link copied to clipboard
Link copied to clipboard

Return the civil date/time value that this instant has in the time zone provided as an implicit receiver.

Link copied to clipboard
fun TimeZone.toNSTimeZone(): <Error class: unknown class>

Converts the TimeZone to NSTimeZone.

toString
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String