summaryrefslogtreecommitdiff
path: root/src/basic/calendarspec.h
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2016-12-15 20:02:10 -0500
committerDouglas Christman <DouglasChristman@gmail.com>2016-12-16 19:27:33 -0500
commita2eb5ea79c53620cfcf616e83bfac0c431247f86 (patch)
tree0240d5031e9a111999c765c04d00395304d32e48 /src/basic/calendarspec.h
parentebc8968bc0b6fc460099041f5ae1262ca17eeb6e (diff)
calendarspec: allow repetition values with ranges
"Every other hour from 9 until 5" can be written as `9..17/2:00` instead of `9,11,13,15,17:00`
Diffstat (limited to 'src/basic/calendarspec.h')
-rw-r--r--src/basic/calendarspec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/calendarspec.h b/src/basic/calendarspec.h
index 78af27403c..66e144196b 100644
--- a/src/basic/calendarspec.h
+++ b/src/basic/calendarspec.h
@@ -29,6 +29,7 @@
typedef struct CalendarComponent {
int value;
+ int range_end;
int repeat;
struct CalendarComponent *next;