1#![allow(deprecated)]
2use crate::builder::DayConfBuilder;
3pub use conf::{Hours, Minuters, MonthDays, Seconds, TimerConf, WeekDays};
4pub use data::{
5 Hour, Hour::*, Minuter, Minuter::*, MonthDay, MonthDay::*, Second, Second::*, WeekDay,
6 WeekDay::*,
7};
8pub use traits::*;
9
10mod builder;
11mod compute;
12mod conf;
13mod data;
14mod traits;
15
16pub fn configure_weekday(week_day: WeekDays) -> builder::DayConfBuilder {
17 DayConfBuilder::from(week_day)
18}
19pub fn configure_monthday(month_day: MonthDays) -> builder::DayConfBuilder {
20 DayConfBuilder::from(month_day)
21}