Skip to main content
Module

x/neo4j_lite_client/mod.ts>LocalTime

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

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

Constructors

new
LocalTime(
hour: T,
minute: T,
second: T,
nanosecond: T,
)

Type Parameters

optional
T extends NumberOrInteger = Integer

Properties

readonly
hour: T
readonly
minute: T
readonly
nanosecond: T
readonly
second: T

Methods

toString(): string

Static Methods

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

Create a LocalTime object from the given standard JavaScript Date and optional nanoseconds. Year, month, day and time zone offset components of the given date are ignored.