Utc Offset
inline class UtcOffset(totalSeconds: IntSeconds) : Comparable<UtcOffset>
Content copied to clipboard
The time shift between a local time and UTC.
Parameters
totalSeconds
the total number of seconds to offset by
Throws
if the offset is outside the supported range
Constructors
UtcOffset
Link copied to clipboard
the total number of seconds to offset by
Types
Functions
toComponents
Link copied to clipboard
inline fun <T> toComponents(action: (hours: IntHours, minutes: IntMinutes, seconds: IntSeconds) -> T): T
Content copied to clipboard
inline fun <T> toComponents(action: (sign: Int, hours: IntHours, minutes: IntMinutes, seconds: IntSeconds) -> T): T
Content copied to clipboard
Properties
totalSeconds
Link copied to clipboard
Extensions
asTimeZone
Link copied to clipboard
toJavaZoneOffset
Link copied to clipboard
toNSTimeZone
Link copied to clipboard