Methods
-
(static) parse(vDate, sDateFormat, mAttributesopt) → {Date}
-
Parameters:
Name Type Attributes Description vDate
string | Date The date to parse sDateFormat
string The input format mAttributes
object <optional>
A map of options Properties
Name Type Attributes Default Description endOfUnit
boolean <optional>
false Whether to parse ambiguous dates to the end of a month or year Returns:
- Type
- Date