def when.year4

emerging-eztoml@0.9.0.0 · main.bend:1076

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

1076# the fourth year digit, then the month
1077def when.year4(dd: Dig) -> WhenOut:
1078  match dd:
1079    case DigBad{}:
1080      WFail{"invalid date"}
1081    case DigOk{n, cs}:
1082      when.year.dash(cs, n)

Uses (3)

Used by (1)