calendarspec: add support for scheduling timers at the end of the month

"*-*~1"       => The last day of every month
"*-02~3..5"   => The third, fourth, and fifth last days in February
"Mon 05~07/1" => The last Monday in May

Resolves #3861
This commit is contained in:
Douglas Christman
2016-11-23 12:37:43 -05:00
parent f6e7d66b9f
commit 8ea803516e
5 changed files with 74 additions and 29 deletions
+1
View File
@@ -36,6 +36,7 @@ typedef struct CalendarComponent {
typedef struct CalendarSpec {
int weekdays_bits;
bool end_of_month;
bool utc;
int dst;