MCPcopy Create free account
hub / github.com/codemix/graph / constructor

Method constructor

packages/graph/src/TemporalTypes.ts:330–342  ·  view source on GitHub ↗
(
    hour: number,
    minute: number,
    second: number,
    nanosecond: number = 0,
    offsetSeconds: number = 0,
  )

Source from the content-addressed store, hash-verified

328 #offsetSeconds: number;
329
330 public constructor(
331 hour: number,
332 minute: number,
333 second: number,
334 nanosecond: number = 0,
335 offsetSeconds: number = 0,
336 ) {
337 this.#hour = hour;
338 this.#minute = minute;
339 this.#second = second;
340 this.#nanosecond = nanosecond;
341 this.#offsetSeconds = offsetSeconds;
342 }
343
344 /**
345 * Create a TimeValue from an ISO time string with timezone offset.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected