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

Function constructor

packages/effect/src/unstable/cli/Prompt.ts:1817–1822  ·  view source on GitHub ↗
(params: DatePartParams)

Source from the content-addressed store, hash-verified

1815 readonly locales: DateOptions["locales"]
1816
1817 constructor(params: DatePartParams) {
1818 this.token = params.token
1819 this.locales = params.locales
1820 this.date = params.date || new Date()
1821 this.parts = params.parts || [this]
1822 }
1823
1824 /**
1825 * Increments this date part.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected