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

Method duration

src/ast/clock.rs:21–31  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::Clock}; let clock = Org::parse("CLOCK: [2003-09-16 Tue 09:39]").first_node:: ().unwrap(); assert!(clock.duration().is_none()); let clock = Org::parse("CLOCK: [2003-09-16 Tue 09:39] =>12:00").first_node:: ().unwrap(); assert_eq!(clock.duration().unwrap(), "12:00"); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

TokenClass · 0.85
findMethod · 0.80
skipMethod · 0.80

Tested by

no test coverage detected