Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Globalization
Interface Globalization
Index
Methods
dateToString
getCurrencyPattern
getDateNames
getDatePattern
getFirstDayOfWeek
getLocaleName
getNumberPattern
getPreferredLanguage
isDayLightSavingsTime
numberToString
stringToDate
stringToNumber
Methods
public
dateToString
(
date
:
Date
, successCallback
:
(properties: { value: string; }) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationDateOptions
)
Parameters
date:
Date
successCallback:
(properties: { value: string; }) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationDateOptions
optional
public
getCurrencyPattern
(
currencyCode
:
string
, successCallback
:
(parameters: GlobalizationCurrencyPattern) => void
, errorCallback
:
(error: GlobalizationError) => void
)
Parameters
currencyCode:
string
successCallback:
(parameters: GlobalizationCurrencyPattern) => void
errorCallback:
(error: GlobalizationError) => void
public
getDateNames
(
successCallback
:
(properties: { value: string[]; }) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationDateNameOptions
)
Parameters
successCallback:
(properties: { value: string[]; }) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationDateNameOptions
optional
public
getDatePattern
(
successCallback
:
(properties: GlobalizationDatePattern) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationDateOptions
)
Parameters
successCallback:
(properties: GlobalizationDatePattern) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationDateOptions
optional
public
getFirstDayOfWeek
(
successCallback
:
(properties: { value: number; }) => void
, errorCallback
:
(error: GlobalizationError) => void
)
Parameters
successCallback:
(properties: { value: number; }) => void
errorCallback:
(error: GlobalizationError) => void
public
getLocaleName
(
successCallback
:
(properties: { value: string; }) => void
, errorCallback
:
(error: GlobalizationError) => void
)
Parameters
successCallback:
(properties: { value: string; }) => void
errorCallback:
(error: GlobalizationError) => void
public
getNumberPattern
(
successCallback
:
(parameters: GlobalizationNumberPattern) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationNumberOptions
)
Parameters
successCallback:
(parameters: GlobalizationNumberPattern) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationNumberOptions
optional
public
getPreferredLanguage
(
successCallback
:
(properties: { value: string; }) => void
, errorCallback
:
(error: GlobalizationError) => void
)
Parameters
successCallback:
(properties: { value: string; }) => void
errorCallback:
(error: GlobalizationError) => void
public
isDayLightSavingsTime
(
date
:
Date
, successCallback
:
(properties: { dst: boolean; }) => void
, errorCallback
:
(error: GlobalizationError) => void
)
Parameters
date:
Date
successCallback:
(properties: { dst: boolean; }) => void
errorCallback:
(error: GlobalizationError) => void
public
numberToString
(
number
:
number
, successCallback
:
(properties: { value: string; }) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationNumberOptions
)
Parameters
number:
number
successCallback:
(properties: { value: string; }) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationNumberOptions
optional
public
stringToDate
(
dateString
:
string
, successCallback
:
(properties: GlobalizationDate) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationDateOptions
)
Parameters
dateString:
string
successCallback:
(properties: GlobalizationDate) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationDateOptions
optional
public
stringToNumber
(
string
:
string
, successCallback
:
(properties: { value: number; }) => void
, errorCallback
:
(error: GlobalizationError) => void
, options
?:
GlobalizationNumberOptions
)
Parameters
string:
string
successCallback:
(properties: { value: number; }) => void
errorCallback:
(error: GlobalizationError) => void
options?:
GlobalizationNumberOptions
optional
Globals