Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Date.h

Go to the documentation of this file.
00001 #ifndef DATE_INCLUDED
00002 #define DATE_INCLUDED
00003 
00004 // Zeitkonstanten
00005 const double MINUTE                             =                         1.0; // 1 min
00006 const double HOUR                               =       60.0 * MINUTE; // 60 min
00007 const double DAY                                =               24 * HOUR; //  1440 min
00008 const double WEEK                               =                 5 * DAY; //  7200 min, Mo 0:00 Uhr - Fr 0:00 Uhr 
00009 const double WEEKEND                    =                 2 * DAY; //  2880 min  Sa 0:00 Uhr - So 0:00 Uhr 
00010 
00011 // Date and time format handling
00012 bool specialYear(int y);
00013 unsigned int year_days(int y);
00014 unsigned int my_month_days(unsigned int m, unsigned int y);
00015 long days(int ys, int ms, int ds, int ye, int me, int de);
00016 double minutes(int Ys, int Ms, int Ds, int hs, int ms,
00017                            int Ye, int Me, int De, int he, int me);
00018 bool parseDateString(const char* str, long& year, long& month, long& day);
00019 bool parseDateTimeString(const char* str, long& year, long& month, long& day, long& hour, long& minute);
00020 
00021 #endif
00022 

Generated on Tue Apr 26 14:42:42 2005 for rollingmill by doxygen 1.3.6