def Date.to_z.go

bend-kit-time@0.3.0.0 · time.bend:215

import bend-kit-time@0.3.0.0/time.bend as Time
import Base

215def Date.to_z.go(jf: Bool, +y: U32, +m: U32, +d: U32) -> U32:
216  match jf:
217    case True{}:
218      Date.to_z.at((y + 399 : U32), (m + 9 : U32), d)
219    case False{}:
220      Date.to_z.at((y + 400 : U32), (m - 3 : U32), d)

Uses (5)

Used by (1)