diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-09-19 17:42:04 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-09-19 17:42:04 +0200 |
commit | ae868ddf8259599ac733734e7372c3eff4a7c7fd (patch) | |
tree | d6efa48191953870c3acdd21a74c49e2c0bb0aef | |
parent | 7a2a81e06b23d7c5607c3bfda608ab49782f0827 (diff) |
Let the TimeType be PartialEq, Eq, PartialOrd, Ord
-rw-r--r-- | src/timetype.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetype.rs b/src/timetype.rs index f9e50fa..db0c05e 100644 --- a/src/timetype.rs +++ b/src/timetype.rs @@ -19,7 +19,7 @@ use indicator::{Day, Month}; use util::*; /// A Type of Time, currently based on chrono::NaiveDateTime -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)] pub enum TimeType { Seconds(i64), Minutes(i64), |