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

Method quarter

packages/graph/src/TemporalTypes.ts:123–125  ·  view source on GitHub ↗

* Get the quarter (1-4).

()

Source from the content-addressed store, hash-verified

121 * Get the quarter (1-4).
122 */
123 public get quarter(): number {
124 return Math.ceil(this.#month / 3);
125 }
126
127 /**
128 * Get the ordinal day (day of year, 1-366).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected