def Iso8601.dur.unit_d

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

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

450def Iso8601.dur.unit_d(
451  st: Iso8601.DurS, n: U32, +c: Char, is_d: Bool
452) -> Iso8601.DurC:
453  match is_d:
454    case True{}:
455      Iso8601.dur.cont_r(Iso8601.dur.put_d(st, n), DSeek{})
456    case False{}:
457      Iso8601.dur.unit(st, n, c)

Uses (9)

Used by (1)