Skip to main content
Module

x/neo4j_lite_client/mod.ts>Date

Unofficial Neo4j Driver for Deno
Latest
class Date
Re-export
import { Date } from "https://deno.land/x/neo4j_lite_client@4.4.6/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.

Constructors

new
Date(
year: T,
month: T,
day: T,
)

Type Parameters

optional
T extends NumberOrInteger = Integer

Properties

readonly
day: T
readonly
month: T
readonly
year: T

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.