Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
operator fun invoke(time: TimeSpan): TimezoneOffset

Constructs a new TimezoneOffset from a TimeSpan.

Link copied to clipboard

Returns timezone offset as a TimeSpan, for a specified time. For example, GMT+01 would return 60.minutes. This uses the Operating System to compute daylight offsets when required.