MCPcopy Create free account
hub / github.com/Effect-TS/effect / increment

Method increment

packages/effect/src/unstable/cli/Prompt.ts:2051–2053  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2049
2050class Year extends DatePart {
2051 increment(): void {
2052 this.date.setFullYear(this.date.getFullYear() + 1)
2053 }
2054
2055 decrement(): void {
2056 this.date.setFullYear(this.date.getFullYear() - 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected