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).

Tipo
class
Espacio de nombres
System
Ensamblado
System.Core
Acceso
internal, static, abstract
Archivo fuente
Time.ant

Herencia

Clases base
Any LocalZone

Métodos

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).

Miembros privados e internos (3)

static field quarter: i64
#

private static

static field cached: i64
#

private static

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

private static

Miembros heredados (5)

Código fuente

LocalZone en Larva HIR, descompilado a partir de su 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