Developer Documentation

LocalizationParamDateTimeFormat

The LocalizationParam.DateTimeFormat enumerated type lists possible date and time formatting options. It combines the Unicode CLDR format types - full, long, medium and short with 3 different presentations - date only, time only and combined date and time presentation.
SHORT_DATE : The date and time value will be formatted as short date, for example 2019-01-28
MED_DATE : The date and time value will be formatted as medium date, for example 2019 Jan 28
LONG_DATE : The date and time value will be formatted as long date, for example 2019 Jan 28
FULL_DATE : The date and time value will be formatted as full date, for example 2019 Jan 28, Mon
SHORT_TIME : The date and time value will be formatted as short time, for example 12:59
MED_TIME : The date and time value will be formatted as medium time, for example 12:59:01
LONG_TIME : The date and time value will be formatted as long time, for example 12:59:01 Z
FULL_TIME : The date and time value will be formatted as full time, for example 12:59:01 Z
SHORT_DATE_TIME : The date and time value will be formatted as short date and time, for example 2019-01-28 12:59
MED_DATE_TIME : The date and time value will be formatted as medium date and time, for example 2019 Jan 28 12:59:01
LONG_DATE_TIME : The date and time value will be formatted as long date and time, for example 2019 Jan 28 12:59:01 Z
FULL_DATE_TIME : The date and time value will be formatted as full date and time, for example 2019 Jan 28, Mon 12:59:01 Z

Enumeration:   FULL_DATE,   FULL_DATE_TIME,   FULL_TIME,   LONG_DATE,   LONG_DATE_TIME,   LONG_TIME,   MED_DATE,   MED_DATE_TIME,   MED_TIME,   SHORT_DATE,   SHORT_DATE_TIME,   SHORT_TIME,  

Feedback

Was this page helpful?