def Iso8601.per.unit_y

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

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

726def Iso8601.per.unit_y(
727  st: Iso8601.PerS, n: U32, +c: Char, is_y: Bool
728) -> Iso8601.PerC:
729  match is_y:
730    case True{}:
731      Iso8601.per.cont_r(Iso8601.per.put_y(st, n), PSeek{})
732    case False{}:
733      Iso8601.per.unit(st, n, c)

Uses (9)

Used by (1)