import { Date } from "https://deno.land/x/neo4j_driver_lite@5.14.0-alpha01/mod.ts";
Represents an instant capturing the date, but not the time, nor the timezone.
Created Date objects are frozen with Object.freeze()
in constructor and thus immutable.
Type Parameters
optional
T extends NumberOrInteger = IntegerMethods
toStandardDate(): StandardDate
Convert date to standard JavaScript Date
.
The time component of the returned Date
is set to midnight
and the time zone is set to UTC.
Static Methods
fromStandardDate(standardDate: StandardDate): Date<number>
Create a Date object from the given standard JavaScript Date
.
Hour, minute, second, millisecond and time zone offset components of the given date are ignored.