DateMask
DateMask
A javascript implementation for BBj dates masking
Static Method Summary
Static Public Methods | ||
public static |
Mask date |
Static Public Methods
public static mask(date: String, mask: String, locale: String, timezone: String): String source
Mask date
Mask the passed date with the passed mask
Params:
Name | Type | Attribute | Description |
date | String | date as a string |
|
mask | String | mask as a string |
|
locale | String |
|
the language to use ex(en-US). default is to the system language |
timezone | String |
|
the time zone descriptor (e.g. America/Los_Angeles). default to the system timezone |