def Period.add_to.y2

bend-time-lib@0.4.0.1 · period.bend:69

import bend-time-lib@0.4.0.1/period.bend as Period
import Base
import bend-time-lib@0.4.0.1/date.bend as D

69def Period.add_to.y2(
70  +y: U32, +m: U32, +d: U32, +pd: U32
71) -> Result<&2, &2, D.Date.Error, D.Date>:
72  Period.add_to.y3(y, m, d, pd, Bool.and(U32.is_ge(y, 1), U32.is_le(y, 9999)))

Uses (8)

Used by (1)