public class Time extends AbstractConfigurationObject
Constructor and Description |
---|
Time() |
Modifier and Type | Method and Description |
---|---|
Number |
getTimezoneOffset() |
Boolean |
getUseUTC() |
void |
setTimezoneOffset(Number timezoneOffset)
The timezone offset in minutes.
|
void |
setUseUTC(Boolean useUTC)
Whether to use UTC time for axis scaling, tickmark placement and time
display in
Highcharts.dateFormat . |
public Number getTimezoneOffset()
setTimezoneOffset(Number)
public void setTimezoneOffset(Number timezoneOffset)
Defaults to: 0
public Boolean getUseUTC()
setUseUTC(Boolean)
public void setUseUTC(Boolean useUTC)
Highcharts.dateFormat
. Advantages of using UTC is
that the time displays equally regardless of the user agent's time zone
settings. Local time can be used when the data is loaded in real time or
when correct Daylight Saving Time transitions are required.
Defaults to: true
Copyright © 2021. All rights reserved.