13Special Datatypes
In an app, we have to deal with various types of attributes. While many of them have a standard datatype, like Integer
or String
, as their range, some of them may have special datatypes as their range. For instance, the Universal Business Language (UBL), which is an industry standard defining document formats for electronic commerce, defines a large set of business datatypes including the following.
UBL Data Type | Description |
Date | One calendar day according to the Gregorian calendar. |
Time | An instance of time that occurs every day. |
DateTime | A particular point in the progression of time, together with relevant supplementary information. |
Percent | Numeric information that is assigned or is determined by calculation, counting, ... |
Get Web Applications with Javascript or Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.