//! Weekends-only calendar (Saturdays and Sundays are non-business days).
use crateCalendar;
use crateDate;
/// A calendar where only Saturdays and Sundays are non-business days.
///
/// # Examples
/// ```
/// use quantlib_rs::time::calendar::Calendar;
/// use quantlib_rs::time::calendars::weekends_only::WeekendsOnly;
/// use quantlib_rs::time::date::{Date, Month};
///
/// let cal = WeekendsOnly;
/// let friday = Date::from_ymd(2026, Month::September, 4).unwrap();
/// let saturday = Date::from_ymd(2026, Month::September, 5).unwrap();
///
/// assert!(cal.is_business_day(friday));
/// assert!(!cal.is_business_day(saturday));
/// ```
;