For a complete list of all formatter classes, see API Reference: sap.ui.model.Type
.
sap.ui.core.format.DateFormat
class can be used to parse a string representing a date, time, or the combination of date and time into a JavaScript date object and vice versa (also known as format).sap.ui.core.format.NumberFormat
class can be used to parse a string representing a number (float or integer) into a JavaScript number
and vice versa (also known as format
).sap.ui.core.format.FileSizeFormat
class can be used to format a number into a string which contains both the number and the most appropriate size unit. It supports all parameters defined in sap.ui.core.format.NumberFormat
. It can also parse a file size string with or without unit into a number which represents the same size in unit byte.