Options
All
  • Public
  • Public/Protected
  • All
Menu

An abstract base class for all time zones

abstract

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

  • new Zone(name: string): Zone

Properties

#name: string

Accessors

  • get name(): string

Methods

  • getCurrentOffset(): number
  • getOffset(timestamp: number): number
  • Returns the offset of the zone (in minutes)

    Parameters

    • timestamp: number

    Returns number

Generated using TypeDoc