Class sap.gantt.config.LocaleModule: sap/gantt/config/Locale
The locale control is used for converting the UTC date time to your local date time
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- timeZone : string (default: UTC)
- utcdiff : string (default: 000000)
- utcsign : string (default: +)
- dstHorizons : array (default: [])
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{string} | sId? | ID of the new control, generated automatically if no ID is given |
{object} | mSettings? | Initial settings for the new control |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
dstHorizons
. Day-light saving time periods. Array of sap.gantt.config.TimeHorizon
Default value is []
.
{array} | Value of property dstHorizons |
timeZone
. User time zone
Default value is UTC
.
{string} | Value of property timeZone |
utcdiff
. Gap value to the UTC time in the format hhmmss
Default value is 000000
.
{string} | Value of property utcdiff |
utcsign
. Sign of the gap to the UTC time. Two valid values: "+" or "-".
Default value is +
.
{string} | Value of property utcsign |
dstHorizons
. Day-light saving time periods. Array of sap.gantt.config.TimeHorizon
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is []
.
{array} | sDstHorizons | New value for property dstHorizons |
{sap.gantt.config.Locale} | Reference to this in order to allow method chaining |
timeZone
. User time zone
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is UTC
.
{string} | sTimeZone | New value for property timeZone |
{sap.gantt.config.Locale} | Reference to this in order to allow method chaining |
utcdiff
. Gap value to the UTC time in the format hhmmss
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 000000
.
{string} | sUtcdiff | New value for property utcdiff |
{sap.gantt.config.Locale} | Reference to this in order to allow method chaining |
utcsign
. Sign of the gap to the UTC time. Two valid values: "+" or "-".
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is +
.
{string} | sUtcsign | New value for property utcsign |
{sap.gantt.config.Locale} | Reference to this in order to allow method chaining |