Function ratatui_calendar

Source
#[no_mangle]
pub extern "C" fn ratatui_calendar(
    handle: *mut c_void,
    area_id: u32,
    year: i32,
    month: u8,
    day: u8,
)
Expand description

Queues a monthly calendar (Monthly).

Invalid dates fall back to January 1 of year, and if that also fails, to 2024-01-01. The widget-calendar Cargo feature must be enabled (it is, by default, in this crate).

ยงParameters

  • year: full year (e.g. 2026).
  • month: 1..=12.
  • day: 1..=28 (later days are clamped to 28 to avoid month overflow).