📄️ types
Chronosis uses TypeScript for development, so
📄️ constructor
Creates a new Chronosis object. If datelike is undefined, the contained date will be set to now. If datelike is defined, the contained date will be set to an interpretation of datelike. This interpretation is done via the built-in Date.
📄️ clone
Creates a clone of the current Chronosis object. Chronosis objects are already immutable, but clone can create a new clone if needed.
📄️ isValid
Checks if the contained date is valid. If an incorrect type is passed to a function, the date may become invalid without warning. Be careful!