feat: create a getter for the reoccurrence start date field

This commit is contained in:
Matouš Volf 2024-09-07 14:48:44 +02:00
parent 41dbac4746
commit 9986e5eda4

View File

@ -102,6 +102,10 @@ impl Reoccurrence {
Self { start_date, interval, length }
}
pub fn start_date(&self) -> NaiveDate {
self.start_date
}
pub fn interval(&self) -> &ReoccurrenceInterval {
&self.interval
}