Format.Format.read.hour2: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/format.bend as Format Lines 472-479 of bend-time-lib@0.4.0.1/format.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/format.bend&start_line=472&end_line=479 import Base import bend-scanner@0.1.0.0/parse.bend as P import bend-time-lib@0.4.0.1/date.bend as D import bend-time-lib@0.4.0.1/datetime.bend as DT def Format.read.hour2( date: D.Date, r: Result<&2, &2, P.Parse.Error, P.Parse.Dec> ) -> Result<&2, &2, Format.Error, DT.OffsetDateTime>: match r: case Fail{e}: Fail{Format.from_parse(e)} case Done{P.Dec{h, cur}}: Format.read.colon1(date, h, P.Parse.expect_char(cur, ':')) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.Dec https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.Error https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.expect_char 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/datetime.bend&name=OffsetDateTime https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/format.bend&name=Format.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/format.bend&name=Format.from_parse https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/format.bend&name=Format.read.colon1