JSDate
A wrapper around the JavaScript Date
class that exposes its properties in a type-safe way. This doesn’t 100% match the JS API, for example getMonth
/setMonth
etc accessor methods are converted to properties, but the rest of it matches in the naming. Parts of the JavaScript Date
API that are not consistent across browsers and JS implementations are not exposed in a type-safe manner, you should access the underlying jsObject
property if you need those.
final class JSDate