Skip to main content

clamp_into_study_right

Function clamp_into_study_right 

Source
fn clamp_into_study_right(
    date: NaiveDate,
    study_right: &MockStudyRight,
) -> NaiveDate
Expand 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.