Predicate to determine whether a year should be selectable.
typedef SelectableYearPredicate = bool Function(int year);