Registry / utility / icu-calendar

icu-calendar

JSON →
library2.2.1rscratesunverified

Provides date APIs for Gregorian and non-Gregorian calendars, part of the ICU4X project.

# Cargo.toml [dependencies] icu_calendar = "2.2.1"
INSTALL
IMPORT
SIG · ICU-CALENDAR
I
icu-calendar
utilityrustv2.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Date
use icu_calendar::Date;

Create a Gregorian date and print it.

use icu_calendar::Date; fn main() { let date = Date::new_gregorian(2023, 10, 5).unwrap(); println!("Date: {:?}", date); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
icu-calendar — cargo add icu-calendar · libregistry