fn clamp_into_study_right(
date: NaiveDate,
study_right: &MockStudyRight,
) -> NaiveDateExpand description
A date on or before the start moves to the start, one on or after the end to the day before it, and nothing may precede a grant date that falls inside the validity.