def when.year4
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport 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)