Scoop API

scoop:scoop.std:0.1.0

UtcOffset

class UtcOffset

source · line 9
public
public class UtcOffset private constructor(
    /**
     * Signed seconds east of UTC.
     */
    public val totalSeconds: Int) : Equals<UtcOffset>, Compare<UtcOffset>, Hash, ToString

A fixed signed offset from UTC, at one-second resolution and within 18 hours in either direction. This is not a time-zone rule database.

function toString

source · line 30
public
public override fun toString(): String

Formats this value as Z or a signed HH:MM offset with optional seconds.

function hash

source · line 26
public
public override fun hash(): Long

Computes a hash consistent with component equality.

property totalSeconds

source · line 13
public
public val totalSeconds: Int

get: public read-only

Signed seconds east of UTC.