Timezone

Type class

Sources

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

// Import Timezone
import * as am5 from "@amcharts/amcharts5";

// Create Timezone
am5.Timezone.new(root, {
  // ... config if applicable
});
<!-- Load Timezone -->
<script src="index.js"></script>

<script>
// Create Timezone
am5.Timezone.new(root, {
  // ... config if applicable
});
</script>

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.