Parse deltas
This commit is contained in:
parent
d298ffabb2
commit
8c83c0b0b9
3 changed files with 159 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue