WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
DateRange.h
1#ifndef _WINC_DATERANGE
2#define _WINC_DATERANGE
3
4#include <WXP/Date.h>
5
6namespace WXP {
7 class DateRange {
8 int secs;
9 int pre;
10 int post;
11
12 public:
13 DateRange();
14 DateRange( Date &rdate, int rpre, int rpost );
15 int set( Date &rdate, int rpre, int rpost );
16 int set( int rpre, int rpost );
17 int set( Date &rdate );
18 int init();
19 bool valid( Date &date );
20 bool valid( int secs );
21 int print();
22 };
23}
24#endif
This class is used to set a valid range of time.
Definition DateRange.h:7
int init()
Definition DateRange.cc:38
bool valid(Date &date)
Definition DateRange.cc:74
int set(Date &rdate, int rpre, int rpost)
Definition DateRange.cc:51
DateRange()
Definition DateRange.cc:20
This class stores date and time information.
Definition Date.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4