Skip to main content

Crate nexcore_chrono

Crate nexcore_chrono 

Source
Expand description

Sovereign DateTime engine — UTC timestamps, calendar dates, durations with zero external dependencies.

Re-exports§

pub use calendar::civil_from_days;
pub use calendar::days_from_civil;
pub use calendar::days_in_month;
pub use calendar::is_leap_year;
pub use calendar::weekday_from_days;
pub use components::DateComponents;
pub use components::DateTimeComponents;
pub use components::DayOfWeek;
pub use date::Date;
pub use datetime::DateTime;
pub use duration::Duration;
pub use error::ChronoError;
pub use format::format_date_components;
pub use naive_datetime::NaiveDateTime;
pub use parse::parse_iso8601_date;
pub use parse::parse_naive_with_format;
pub use parse::parse_rfc3339;

Modules§

calendar
Civil calendar arithmetic — Hinnant algorithm for days ↔ (year, month, day).
components
Date/time component structs and day-of-week enum.
date
Date type — calendar date without time or timezone.
datetime
DateTime type — UTC timestamp with microsecond precision.
duration
Duration type — signed time span with microsecond precision.
error
Error types for nexcore-chrono.
format
strftime-subset formatting.
naive_datetime
NaiveDateTime — datetime without timezone assertion.
parse
Parsing — RFC 3339, ISO 8601, and strftime-subset format strings.
serde_impl
Serde implementations for nexcore-chrono types.