Skip to main content
Module

x/neo4j_driver_lite/mod.ts>LocalTime

Neo4j Bolt driver for JavaScript
Go to Latest
class LocalTime
Re-export
import { LocalTime } from "https://deno.land/x/neo4j_driver_lite@5.15.0/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

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.