MCPcopy Index your code
hub / github.com/PoiScript/orgize / repeater_unit

Method repeater_unit

src/ast/timestamp.rs:125–127  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::{Timestamp, TimeUnit}}; let t = Org::parse("[2000-01-01 +1w]").first_node:: ().unwrap(); assert_eq!(t.repeater_unit(), Some(TimeUnit::Week)); let t = Org::parse("[2000-01-01 .+10d +1w]").first_node:: ().unwrap(); assert_eq!(t.repeater_unit(), Some(TimeUnit::Day)); let t = Org::parse("[2000-01-01 --1y]").first_node:: ().unwrap(); assert_

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

nth_repeaterMethod · 0.80

Tested by

no test coverage detected