MCPcopy Create free account
hub / github.com/emwalker/digraph / valid_date

Function valid_date

backend/src/types.rs:556–559  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

554 use super::*;
555
556 fn valid_date() -> Option<Geotime> {
557 let dt = chrono::Utc.with_ymd_and_hms(2000, 1, 1, 0, 0, 0).unwrap();
558 Some(Geotime::from(&dt))
559 }
560
561 #[test]
562 fn none() {

Callers 3

prefix_noneFunction · 0.85
start_yearFunction · 0.85
start_year_monthFunction · 0.85

Calls

no outgoing calls

Tested by 3

prefix_noneFunction · 0.68
start_yearFunction · 0.68
start_year_monthFunction · 0.68