Duration.Duration.sub.n2b: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/duration.bend as Duration Lines 254-265 of bend-time-lib@0.4.0.1/duration.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/duration.bend&start_line=254&end_line=265 import Base def Duration.sub.n2b( +days: U32, +sod: U32, +n1: U32, +b_days: U32, +b_sod: U32, +b_n: U32, borrow: Bool, z: Bool ) -> Result<&2, &2, Duration.Error, Duration>: match borrow z: case True{} True{}: Duration.sub.n0(days, n1, b_days, b_sod, b_n, U32.is_eq(days, 0)) case True{} False{}: Duration.sub.n2(days, U32.sub(sod, 1), n1, b_days, b_sod, b_n, True{}) case False{} True{}: Duration.sub.n2(days, sod, n1, b_days, b_sod, b_n, False{}) case False{} False{}: Duration.sub.n2(days, sod, n1, b_days, b_sod, b_n, False{}) Uses (9): 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=Base/base.bend&name=U32.is_eq 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/duration.bend&name=Duration https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/duration.bend&name=Duration.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/duration.bend&name=Duration.sub.n0 https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/duration.bend&name=Duration.sub.n2