goog.i18n.DateTimeFormat
Classgoog.i18n.DateTimeFormat(pattern)
Construct a DateTimeFormat object based on current locale.
pattern
{string
|number
}
goog.i18n.DateTimeFormat.Format
EnumEnum to identify predefined Date/Time format pattern. … more
.format(date, opt_timeZone)
Format the given date object according to preset pattern and current lcoale.
date
{goog.date.DateLike
}
opt_timeZone
{goog.i18n.TimeZone
=}
string
}