Skip to main content

resolve_date

Function resolve_date 

Source
pub fn resolve_date(
    date: NaiveDate,
    members: &[FamilyMember],
    rules: &[RecurringParticipationRule],
    exceptions: &[MealException],
) -> Vec<MealParticipation>
Expand description

Resolve all active members for lunch and dinner. Exceptions win. Overlapping rules use the latest effective start (unbounded first), then the greatest rule ID.