DataType Utility: Examples
The DataType Utility provides a functionality to parse data into known JavaScript entities, such as numbers, dates, and XML documents, as well as convert such entities into formatted strings.
- DataType.Date.format(): Formatting dates into strings.
- DataType.Date.parse(): Parsing data into dates.
- DataType.Number.format(): Formatting numbers into strings.
- DataType.Number.parse(): Parsing data into numbers.
- DataType.XML.format(): Formatting XML documents into strings.
- DataType.XML.parse(): Parsing strings into XML documents.
Examples That Make Use of DataType Utility
- Enforcing DataTypes (included with examples for the DataSchema Utility)