Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/neo4j_lite_client/core/temporal-types.ts>Date

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

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.