def Iso8601.per.unit_m
import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601import Base
714def Iso8601.per.unit_m(
715 st: Iso8601.PerS, n: U32, +c: Char, is_m: Bool
716) -> Iso8601.PerC:
717 match is_m:
718 case True{}:
719 Iso8601.per.cont_r(Iso8601.per.put_m(st, n), PSeek{})
720 case False{}:
721 Iso8601.per.unit_w(st, n, c, Char.is_eq(c, 'W'))