- DECLARE_DYNAMIC_CLASS(wxDate)
- protected:
- unsigned long julian; // see julDate(); days since 1/1/4713 B.C.
- int month; // see NMonth()
- int day; // see Day()
- int year; // see NYear4()
- int day_of_week; // see NDOW(); 1 = Sunday, ... 7 = Saturday
-
- private:
- int DisplayFormat;
- unsigned char DisplayOptions;
-
- void julian_to_mdy (); // convert julian day to mdy
- void julian_to_wday (); // convert julian day to day_of_week
- void mdy_to_julian (); // convert mdy to julian day
-
- public:
- wxDate ();
- wxDate (long j);
- wxDate (int m, int d, int y);
- wxDate (const wxString& dat);
- wxDate (const wxDate &dt);
+DECLARE_DYNAMIC_CLASS(wxDate)
+
+protected:
+ unsigned long julian; // see julDate(); days since 1/1/4713 B.C.
+ int month; // see NMonth()
+ int day; // see Day()
+ int year; // see NYear4()
+ int day_of_week; // see NDOW(); 1 = Sunday, ... 7 = Saturday
+
+private:
+ int DisplayFormat;
+ unsigned char DisplayOptions;
+
+ void julian_to_mdy (); // convert julian day to mdy
+ void julian_to_wday (); // convert julian day to day_of_week
+ void mdy_to_julian (); // convert mdy to julian day
+
+public:
+ wxDate ();
+ wxDate (long j);
+ wxDate (int m, int d, int y);
+ wxDate (const wxString& dat);
+ wxDate (const wxDate &dt);