JavaScriptUtil - Constants
All constants declared on this script are detailed here
Character set constants
Useful constants when a certain character set is needed
|
JST_CHARS_ALPHA
A String containing all letters and numbers |
|
JST_CHARS_BASIC_ALPHA
A String containing all letters without accentuation and numbers |
|
JST_CHARS_BASIC_LETTERS
A String containing all letters without accentuation |
|
JST_CHARS_BASIC_LOWER
A String containing all lowercase letters without accentuation |
|
JST_CHARS_BASIC_UPPER
A String containing all uppercase letters without accentuation |
|
JST_CHARS_LETTERS
A String containing all letters |
|
JST_CHARS_LOWER
A String containing all lowercase letters |
|
JST_CHARS_NUMBERS
A String containing all numbers |
|
JST_CHARS_UPPER
A String containing all uppercase letters |
|
JST_CHARS_WHITESPACE
A String containing all whitespace characters |
Millisecond constants
Contains constants with the number of milliseconds on other time units
|
MILLIS_IN_DAY
The number of milliseconds on a day |
|
MILLIS_IN_HOUR
The number of milliseconds on a hour |
|
MILLIS_IN_MINUTE
The number of milliseconds on a minute |
|
MILLIS_IN_SECOND
The number of milliseconds on a second |
Date field constants
Enums used on date manipulation functions, to determine a date field
|
JST_FIELD_DAY
Field indicating days on date functions |
|
JST_FIELD_HOUR
Field indicating hours on date functions |
|
JST_FIELD_MILLISECOND
Field indicating milliseconds on date functions |
|
JST_FIELD_MINUTE
Field indicating minutes on date functions |
|
JST_FIELD_MONTH
Field indicating months on date functions |
|
JST_FIELD_SECOND
Field indicating seconds on date functions |
|
JST_FIELD_YEAR
Field indicating years on date functions |