Skip to main content
Module

x/neo4j_lite_client/mod.ts>LocalDateTime

Unofficial Neo4j Driver for Deno
Latest
class LocalDateTime
Re-export
import { LocalDateTime } from "https://deno.land/x/neo4j_lite_client@4.4.6/mod.ts";

Represents an instant capturing the date and the time, but not the timezone. Created LocalDateTime objects are frozen with Object.freeze() in constructor and thus immutable.

Constructors

new
LocalDateTime(
year: T,
month: T,
day: T,
hour: T,
minute: T,
second: T,
nanosecond: T,
)

Type Parameters

optional
T extends NumberOrInteger = Integer

Properties

readonly
day: T
readonly
hour: T
readonly
minute: T
readonly
month: T
readonly
nanosecond: T
readonly
second: T
readonly
year: T

Methods

toString(): string

Static Methods

fromStandardDate(standardDate: StandardDate, nanosecond?: NumberOrInteger): LocalDateTime<number>

Create a LocalDateTime object from the given standard JavaScript Date and optional nanoseconds. Time zone offset component of the given date is ignored.