A handler for day in DayBox
dbd is DateTime of DayBox
dbd
typedef DayCondition = bool Function(DateTime dbd);