class sap.m.DynamicDateFormat

Control sample: sap.m.DynamicDateFormat
Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends:
Module: sap/m/DynamicDateFormat
Application Component: CA-UI5-CTR

The DynamicDateFormat is a static class for formatting and parsing an array of strings in a locale-sensitive manner according to a set of format options.


Constructor


Methods Overview

Method Description
format

Formats a list according to the given format options.

sap.m.DynamicDateFormat.getInstance

Get an instance of the DynamicDateFormat which can be used for formatting.

parse

Parses a given list string into an array.

format

Formats a list according to the given format options.

Param Type DefaultValue Description
oObj object

The value to format

sap.m.DynamicDateFormat.getInstance

Get an instance of the DynamicDateFormat which can be used for formatting.

Param Type DefaultValue Description
oFormatOptions object

Object which defines the format options

oLocale sap.ui.core.Locale

Locale to get the formatter for

parse

Parses a given list string into an array.

Param Type DefaultValue Description
sValue string

String value to be parsed