Rudiments
cronschedule.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_CRONSCHEDULE_H
5 #define RUDIMENTS_CRONSCHEDULE_H
6 
7 #include <rudiments/private/cronscheduleincludes.h>
8 
12 class RUDIMENTS_DLLSPEC cronschedule {
13  public:
14  cronschedule();
15 
16  virtual ~cronschedule();
17 
18  void setSchedule(const char *when);
19  void setSchedule(const char *years,
20  const char *months,
21  const char *daysofmonth,
22  const char *daysofweek,
23  const char *dayparts);
24 
25  bool inSchedule(datetime *dt);
26  bool inSchedule(const char *dt);
27 
28  #include <rudiments/private/cronschedule.h>
29 };
30 
31 #endif
Definition: cronschedule.h:12
Definition: datetime.h:12