Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_none
Function · 0.85
start_year
Function · 0.85
start_year_month
Function · 0.85
Calls
no outgoing calls
Tested by
3
prefix_none
Function · 0.68
start_year
Function · 0.68
start_year_month
Function · 0.68