parse_schedule_event_header

Function parse_schedule_event_header 

Source
pub fn parse_schedule_event_header(
    line: &str,
) -> Result<(DurationValue, Option<DurationValue>)>
Expand description

Parse a schedule event header: at [and during <optional_duration>]: Returns the tuple (start_time, optional_duration) if valid Examples:

  • at 1 bars:
  • at 1 bars and during 2 bars:
  • at 0 bars and during 4 bars: