def Date.from
import bend-time-lib@0.4.0.1/date.bend as Dateimport Base
119def Date.from(
120 +y: U32, +m: U32, +d: U32
121) -> Result<&2, &2, Date.Error, Date>:
122 Date.from.y(y, m, d, Bool.and(U32.is_ge(y, 1), U32.is_le(y, 9999)))
import bend-time-lib@0.4.0.1/date.bend as Dateimport Base
119def Date.from(
120 +y: U32, +m: U32, +d: U32
121) -> Result<&2, &2, Date.Error, Date>:
122 Date.from.y(y, m, d, Bool.and(U32.is_ge(y, 1), U32.is_le(y, 9999)))