datetimeformat.js
No description.

File Location

/goog/i18n/datetimeformat.js

Classes

goog.i18n.DateTimeFormat
Construct a DateTimeFormat object based on current locale.

Public Protected Private

Enumerations

Global Functions

goog.i18n.DateTimeFormat.localizeNumbers(inputopt_dateTimeSymbols) string
Localizes a string potentially containing numbers, replacing ASCII digits with native digits if specified so by the locale. Leaves other characters.
Arguments:
input : number | string
the string to be localized, using ASCII digits.
opt_dateTimeSymbols : !Object=
Optional symbols to use use rather than the global symbols.
Returns: string  localized string, potentially using native digits.
code »
goog.i18n.DateTimeFormat.validateDateHasTime_(date)
Validates is the goog.date.DateLike object to format has a time. DateLike means Date|goog.date.Date, and goog.date.DateTime inherits from goog.date.Date. But goog.date.Date does not have time related members (getHours, getMinutes, getSeconds). Formatting can be done, if there are no time placeholders in the pattern.
Arguments:
date : !goog.date.DateLike
the object to validate.
code »

Directory i18n

File Reference