Parse deltas

This commit is contained in:
Joscha 2021-11-19 19:14:14 +01:00
parent d298ffabb2
commit 8c83c0b0b9
3 changed files with 159 additions and 17 deletions

View file

@ -34,14 +34,7 @@ pub enum DeltaStep {
}
#[derive(Debug)]
pub struct Delta {
pub years: i32,
pub months: i32,
pub weeks: i32,
pub days: i32,
pub hours: i32,
pub minutes: i32,
}
pub struct Delta(pub Vec<DeltaStep>);
#[derive(Debug)]
pub struct DateEndSpec {