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

Method years

packages/graph/src/TemporalTypes.ts:1224–1226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1222
1223 // Derived accessors (per Cypher spec)
1224 public get years(): number {
1225 return Math.trunc(this.#months / 12);
1226 }
1227
1228 public get monthsOfYear(): number {
1229 return this.#months % 12;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected