Date.Date.until_days: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/date.bend as Date Lines 480-485 of bend-time-lib@0.4.0.1/date.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/date.bend&start_line=480&end_line=485 import Base def Date.until_days( start: Date, end: Date ) -> Result<&2, &2, Date.Error, U32>: +zs = Date.to_days(start) +ze = Date.to_days(end) Date.until_days.go(zs, ze, U32.is_lt(ze, zs)) Uses (7): 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_lt 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/date.bend&name=Date.until_days.go