aboutsummaryrefslogtreecommitdiff
path: root/src/csl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csl.rs')
-rw-r--r--src/csl.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/csl.rs b/src/csl.rs
index 83f2e14..fb11841 100644
--- a/src/csl.rs
+++ b/src/csl.rs
@@ -4,6 +4,7 @@ use std::str::FromStr;
use std::fmt;
use super::{SearchField, FightOutcome};
+use chrono::Weekday;
pub trait Variants: Copy {
type Output: Iterator<Item=Self>;
@@ -33,6 +34,7 @@ macro_rules! variants {
variants! { SearchField => Account, Character }
variants! { FightOutcome => Success, Wipe }
+variants! { Weekday => Mon, Tue, Wed, Thu, Fri, Sat, Sun }
/// The character that delimits items from each other.
const DELIMITER: char = ',';