aboutsummaryrefslogtreecommitdiff
path: root/src/occurence.rs
diff options
context:
space:
mode:
authormetamuffin <yvchraiqi@protonmail.com>2022-06-07 11:42:46 +0200
committermetamuffin <yvchraiqi@protonmail.com>2022-06-07 11:42:46 +0200
commit20030e38a921d2ba00ba7b67d0e466aafd591b4d (patch)
treea7d50b0882b724c3fc0611f671127823a1cd35ff /src/occurence.rs
parentbce701919dad8fb3ce0e06ada4d4892240d483e2 (diff)
downloadkarlender-20030e38a921d2ba00ba7b67d0e466aafd591b4d.tar
karlender-20030e38a921d2ba00ba7b67d0e466aafd591b4d.tar.bz2
karlender-20030e38a921d2ba00ba7b67d0e466aafd591b4d.tar.zst
a
Diffstat (limited to 'src/occurence.rs')
-rw-r--r--src/occurence.rs25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/occurence.rs b/src/occurence.rs
deleted file mode 100644
index 104438a..0000000
--- a/src/occurence.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-use serde::{Deserialize, Serialize};
-
-#[derive(Debug, Serialize, Deserialize)]
-pub enum Condition {
- And(Vec<Condition>),
- Or(Vec<Condition>),
- From(Box<Condition>),
- To(Box<Condition>),
-
- Year(Range),
- Monthofyear(Range),
- Weekofmonth(Range),
- Dayofyear(Range),
- Dayofmonth(Range),
- Dayofweek(Range),
-
- Hour(Range),
- Minute(Range),
- Second(Range),
-
- Unix(Range),
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct Range(u64, u64);