Methods
-
<static> dateToLocalIso(date) → {string}
-
Returns a local isoString provided a Date object
Parameters:
Name Type Description date
Date - Since:
- 0.7
- Source:
Returns:
isoString- Type
- string
-
<static> getConverterInstance(converterOption) → {Object}
-
Given either an Object literal representing a 'converter' option (used in components) or a converter instance of type oj.Converter, this method returns the converter instance.
Parameters:
Name Type Description converterOption
Object - Since:
- 0.6
- Source:
Returns:
converterInstance or null if a converter cannot be determined- Type
- Object
-
<static> isoToLocalDate(isoString) → {Date}
-
Returns a local Date object provided a local isoString
Parameters:
Name Type Description isoString
string date in isoString format - Since:
- 0.7
- Source:
Returns:
localDate- Type
- Date