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

Method constructor

packages/graph/src/TemporalTypes.ts:1058–1068  ·  view source on GitHub ↗
(
    months: number = 0,
    days: number = 0,
    seconds: number = 0,
    nanoseconds: number = 0,
  )

Source from the content-addressed store, hash-verified

1056 #nanoseconds: number;
1057
1058 public constructor(
1059 months: number = 0,
1060 days: number = 0,
1061 seconds: number = 0,
1062 nanoseconds: number = 0,
1063 ) {
1064 this.#months = months;
1065 this.#days = days;
1066 this.#seconds = seconds;
1067 this.#nanoseconds = nanoseconds;
1068 }
1069
1070 /**
1071 * Create a DurationValue from an ISO 8601 duration string.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected