Skip to main content
Module

x/neo4j_lite_client/mod.ts>Time

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

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

Constructors

new
Time(
hour: T,
minute: T,
second: T,
nanosecond: T,
timeZoneOffsetSeconds: T,
)

Type Parameters

optional
T extends NumberOrInteger = Integer

Properties

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

Static Methods

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

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