Struct UnixEpochDays
pub struct UnixEpochDays(/* private field */);
The supported range of days from the Unix epoch for the Gregorian calendar.
The range supported is based on the range of Unix timestamps that we support.
Implementations
impl UnixEpochDays
const MIN: i32 = <UnixEpochDays as Bounds>::MIN;const MAX: i32 = <UnixEpochDays as Bounds>::MAX;const LEN: i128 = _;const fn error() -> BoundsErrorfn check(n: impl Into<i64>) -> Result<i32, BoundsError>const fn checkc(n: i64) -> Result<i32, BoundsError>const fn checked_add(n1: i32, n2: i32) -> Result<i32, BoundsError>fn checked_mul(n1: i32, n2: i32) -> Result<i32, BoundsError>
Trait Implementations
impl Bounds for UnixEpochDays
const WHAT: &'static str = "Unix epoch days";const MIN: Self::Primitive = _;const MAX: Self::Primitive = _;type Primitive = i32;type Error = BoundsError;fn error() -> BoundsError
impl Eq for UnixEpochDays
impl PartialEq for UnixEpochDays
fn eq(&self, other: &Self) -> bool