Type class
A named timezone, such as "America/New_York", used for root.timezone.
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 The IANA name of the timezone. |
|---|
Methods
|
constructor( timezone: ) |
Returns |
|---|---|
|
convertLocal( date: ) |
Returns Returns a copy of |
|
new( timezone: ) |
Static Returns Creates a timezone from its IANA name, such as Click here for more info |
|
offsetUTC( date: ) |
Returns Returns the timezone's offset from UTC at |
|
parseDate( date: ) |
Returns Returns the parts of |
Events
Timezone does not have any events.