```rust use orgize::{Org, ast::{Timestamp, TimeUnit}}; let t = Org::parse("[2000-01-01 -3y]").first_node:: ().unwrap(); assert_eq!(t.warning_unit(), Some(TimeUnit::Year)); let t = Org::parse("[2000-01-01]--[2000-01-02 -5w]").first_node:: ().unwrap(); assert_eq!(t.warning_unit(), Some(TimeUnit::Week)); let t = Org::parse("[2000-01-01 01:00-02:00 --10m]").first_node::
(&self)
source not stored for this graph (policy: none)