fromDate
Creates a new instance from a JavaScript Date.
Return
The modified result parameter or a new instance if none was provided.
Parameters
date
A JavaScript Date.
result
An existing instance to use for the result.
Creates a new instance from a JavaScript Date.
The modified result parameter or a new instance if none was provided.
A JavaScript Date.
An existing instance to use for the result.