class · System

LocalZone

internal class System.LocalZone : System.Any

The local time zone's offset from UTC, asked of the system once per quarter hour of UTC (zones change their offset only on quarter hours).

Kind
class
Namespace
System
Assembly
System.Core
Access
internal, static, abstract
Source file
Time.ant

Inheritance

Base classes
Any LocalZone

Methods

static method Offset(utcTicks: i64) -> i64
#

static

The offset in ticks at a UTC moment (ticks since 0001).

static method OffsetOfLocal(localTicks: i64) -> i64
#

static

The offset in ticks at a local moment: the offset at the moment it would be in UTC, checked once more (near a change the two can differ).

Private and internal members (3)

static field quarter: i64
#

private static

static field cached: i64
#

private static

static method OffsetAt(seconds: i64) -> i64
#

private static

Inherited members (5)

Source

LocalZone as Larva HIR, decompiled from its Larva HIR.

System.LocalZone.hir
// The local time zone's offset from UTC, asked of the system once per quarter hour of UTC (zones change their offset
// only on quarter hours).
internal class System.LocalZone : System.Any
{
    static field quarter: i64
    static field cached: i64
    static method OffsetAt(seconds: i64) -> i64
    // The offset in ticks at a UTC moment (ticks since 0001).
    static method Offset(utcTicks: i64) -> i64
    // The offset in ticks at a local moment: the offset at the moment it would be in UTC, checked once more
    // (near a change the two can differ).
    static method OffsetOfLocal(localTicks: i64) -> i64
}
Esc