Trait time2::SystemTimeExt
[−]
[src]
pub trait SystemTimeExt {
fn as_unix_millis(&self) -> Option<i64>;
}Extensions to the SystemTime type.
Requires the beta feature.
Required Methods
fn as_unix_millis(&self) -> Option<i64>
Returns the number of whole milliseconds between this time and the Unix Epoch.
Returns None if the value exceeds the capacity of an i64.
Implementors
impl SystemTimeExt for SystemTime