def rfc3339.fin

bend-kit-time@0.3.0.0 · time.bend:545

import bend-kit-time@0.3.0.0/time.bend as Time
import Base

545def rfc3339.fin(p: P) -> Maybe<&2, Instant>:
546  match p:
547    case P{Con{mm, Con{hh, Con{west, Con{n, Con{s, Con{mi, Con{h, Con{d, Con{mo, Con{y, Nil{}}}}}}}}}}}, SNil{}}:
548      rfc3339.shift(mk(DateTime{Date{y, mo, d}, h, mi, s, n}), west, hh, mm)
549    case _:
550      None{}

Uses (9)

Used by (1)