def Wall.micro

bend-kube-runtime@0.2.0.0 · src/time.bend:92

import bend-kube-runtime@0.2.0.0/src/time.bend as Time
import Base

92# "YYYY-MM-DDTHH:MM:SS.ffffffZ" (metav1.MicroTime).
93def Wall.micro(w: Wall) -> String:
94  match w:
95    case Wall{d, +s, +us}:
96      Time.date(Time.civil(d)) ++ "T" ++ Time.clock(s) ++ "." ++ Time.pad(us, 6n) ++ "Z"

Uses (7)

Used by (4)