def Format.read.colon1

bend-time-lib@0.4.0.1 · format.bend:463

import bend-time-lib@0.4.0.1/format.bend as Format
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

463def Format.read.colon1(
464  date: D.Date, h: U32, r: Result<&2, &2, P.Parse.Error, P.Parse.Cur>
465) -> Result<&2, &2, Format.Error, DT.OffsetDateTime>:
466  match r:
467    case Fail{e}:
468      Fail{Format.from_parse(e)}
469    case Done{cur}:
470      Format.read.min2(date, h, P.Parse.read_fixed_decimal(cur, 2n, 99))

Uses (10)

Used by (1)