Skip to main content

is_iso_date

Function is_iso_date 

Source
pub fn is_iso_date(s: &str) -> bool
Expand description

#2867: is s exactly YYYY-MM-DD and a date that exists? The one compile-time statement of the rule IsoDate enforces; the runtime’s __bynkIsIsoDate (bynk-emit/runtime/src/time.ts) is its TypeScript twin and shares the calendar with Instant.fromIso.