pub trait Period {
// Required methods
fn previous_dt(&self) -> Result<OffsetDateTime, String>;
fn now(&self) -> OffsetDateTime;
fn new_path(&self) -> String;
fn duration(&self) -> &Duration;
}
pub trait Period {
// Required methods
fn previous_dt(&self) -> Result<OffsetDateTime, String>;
fn now(&self) -> OffsetDateTime;
fn new_path(&self) -> String;
fn duration(&self) -> &Duration;
}