1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Re-implementation of [`std::time`].

mod instant;
mod js;
#[cfg(feature = "serde")]
mod serde;
mod system_time;

pub use std::time::*;

pub use self::instant::Instant;
pub use self::system_time::{SystemTime, SystemTimeError};

/// See [`std::time::UNIX_EPOCH`].
pub const UNIX_EPOCH: SystemTime = SystemTime::UNIX_EPOCH;