Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITimeZoneInfo

Interface for time zone info.

Hierarchy

  • ITimeZoneInfo

Implemented by

Index

Properties

Methods

Properties

baseUtcOffset

baseUtcOffset: number

Gets the standard offset of the timezone in hours.

name

name: string

Gets the name of the timezone.

Methods

getUtcOffset

  • getUtcOffset(time: Date): number
  • Returns the offset of the timezone at the specified date in hours.

    Parameters

    • time: Date

    Returns number

Generated using TypeDoc