def Iso8601.dur.unit_m

bend-time-lib@0.4.0.1 · iso8601.bend:430

import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601
import Base

430def Iso8601.dur.unit_m(
431  st: Iso8601.DurS, n: U32, +c: Char, is_m: Bool
432) -> Iso8601.DurC:
433  match is_m:
434    case True{}:
435      Iso8601.dur.cont_r(Iso8601.dur.put_m(st, n), DSeek{})
436    case False{}:
437      Iso8601.dur.unit_s(st, n, c, Char.is_eq(c, 'S'))

Uses (10)

Used by (1)