Period.Period.add_to.day: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/period.bend as Period Lines 42-49 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=42&end_line=49 import Base import bend-time-lib@0.4.0.1/date.bend as D def Period.add_to.day( +y: U32, +m: U32, +d: U32, +pd: U32, +dim: U32, le: Bool ) -> Result<&2, &2, D.Date.Error, D.Date>: match le: case True{}: Period.add_to.from(y, m, d, pd) case False{}: Period.add_to.from(y, m, dim, pd) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=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.from