pub fn is_date_enabled(
value: DateValue,
min: Option<DateValue>,
max: Option<DateValue>,
) -> boolExpand description
Returns whether a date falls within both optional inclusive bounds.
With no bounds every value is enabled. Inverted bounds disable every date.
ยงExamples
use ailloli_ui_core::date_picker::is_date_enabled;
use ailloli_ui_core::DateValue;
let date = DateValue::new(2026, 5, 4);
assert!(is_date_enabled(date, None, None));
assert!(!is_date_enabled(date, Some(DateValue::new(2026, 5, 5)), None));