Period.Period.add_to.y2: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/period.bend as Period Lines 69-72 of bend-time-lib@0.4.0.1/period.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/period.bend&start_line=69&end_line=72 import Base import bend-time-lib@0.4.0.1/date.bend as D def Period.add_to.y2( +y: U32, +m: U32, +d: U32, +pd: U32 ) -> Result<&2, &2, D.Date.Error, D.Date>: Period.add_to.y3(y, m, d, pd, Bool.and(U32.is_ge(y, 1), U32.is_le(y, 9999))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_ge https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_le https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/period.bend&name=Period.add_to.y3