Built-In Namespace String
| Method Attributes | Method Name and Description |
|---|---|
|
formatDate(fmt)
Format string containing a date
|
|
|
formatNumber(fmt)
Take a string that can be converted via parseFloat
and format it according to the specs in fmt object.
|
|
|
Convert string in ISO 8601 format to a date
|
Method Detail
formatDate(fmt)
Format string containing a date
Defined in: <ricoCommon.js>.
Defined in: <ricoCommon.js>.
- Parameters:
- fmt
- See:
- Date#formatDate
formatNumber(fmt)
Take a string that can be converted via parseFloat
and format it according to the specs in fmt object.
Number in string may use a period or comma as the decimal point,
but should not contain any thousands separator.
Defined in: <ricoCommon.js>.
Defined in: <ricoCommon.js>.
- Parameters:
- fmt
toISO8601Date()
Convert string in ISO 8601 format to a date
Defined in: <ricoCommon.js>.
Defined in: <ricoCommon.js>.
- Returns:
- new date object