Timezone

Type class

Sources

Timezone can be used (imported) via one of the following packages.

// Timezone is available in all of the following modules.
// You only need to import one of them.

/**
 * --------------------------------------------------------
 * Import from: "index.ts"
 * Use like: am5.Timezone
 * --------------------------------------------------------
 */
import * as am5 from "@amcharts/amcharts5";

// Timezone is available in all of the following modules.
// You only need to import one of them.

/**
 * --------------------------------------------------------
 * Include via: <script src="index.js"></script>
 * Access items like: am5.Timezone
 * --------------------------------------------------------
 */

Inheritance

Timezone does not extend any other symbol.

Timezone is not extended by any other symbol.

Settings

Timezone does not have any settings.

Private settings

Timezone does not have any private settings.

Properties

name
#

Type string | undefined

Methods

constructor(

timezone: string | undefined,
isReal: boolean

)

#

Returns Timezone

convertLocal(

date: Date

)

#

Returns Date

new(

timezone: string | undefined

)

#

Static

Returns T

Use this method to create an instance of this class.

Click here for more info

offsetUTC(

date: Date

)

#

Returns number

parseDate(

date: Date

)

#

Returns ParsedDate

Events

Timezone does not have any events.