diff options
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 9d037db..14712a5 100644 --- a/src/options.rs +++ b/src/options.rs @@ -45,7 +45,9 @@ pub struct ParsedOptions { pub byminute: Vec<usize>, pub bysecond: Vec<usize>, pub bynweekday: Vec<Vec<isize>>, + pub byeaster: Option<isize>, } + impl ParsedOptions { pub fn new(freq: Frequenzy, dtstart: &DateTime<Utc>) -> Self { Self { @@ -67,6 +69,7 @@ impl ParsedOptions { byhour: vec![dtstart.hour() as usize], byminute: vec![dtstart.minute() as usize], bysecond: vec![dtstart.second() as usize], + byeaster: None, } } |