temporal_rs 0.2.3

Temporal in Rust is an implementation of the TC39 Temporal Builtin Proposal in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Utility date and time equations for Temporal

pub(crate) use timezone_provider::utils::epoch_days_from_gregorian_date;

// NOTE: Potentially add more of tests.

// ==== Begin Date Equations ====

pub(crate) const MS_PER_HOUR: i64 = 3_600_000;
pub(crate) const MS_PER_MINUTE: i64 = 60_000;

pub(crate) use timezone_provider::utils::{
    epoch_days_to_epoch_ms, iso_days_in_month, ymd_from_epoch_milliseconds,
};

// ==== End Calendar Equations ====