MCPcopy Create free account
hub / github.com/PoiScript/orgize / repeater_value

Method repeater_value

src/ast/timestamp.rs:111–113  ·  view source on GitHub ↗

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

(&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