Period.Period.between.ms.from: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/period.bend as Period Lines 111-122 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=111&end_line=122 import Base import bend-time-lib@0.4.0.1/date.bend as D def Period.between.ms.from( +end: D.Date, +tm: U32, r: Result<&2, &2, D.Date.Error, D.Date> ) -> Result<&2, &2, Period.Error, Period>: match r: case Fail{_}: Fail{OutOfRange{}} case Done{start2}: Period.from( U32.div(tm, 12), U32.mod(tm, 12), U32.sub(D.Date.to_days(end), D.Date.to_days(start2)) ) Uses (11): 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.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mod https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub 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/date.bend&name=Date.to_days https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/period.bend&name=Period https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/period.bend&name=Period.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/period.bend&name=Period.from