00001 #ifndef TIME_H 00002 #define TIME_H 00003 00004 #include <string> 00005 using namespace std; 00006 00010 class time { 00011 public: 00012 // make a time from swiss prot time 00013 time() { } 00014 void readsw(const string &swtime); 00015 int mch2int(char mc[3]); 00016 void ace() const; 00017 private: 00018 int year; 00019 int date; 00020 int month; 00021 int hour; 00022 int minute; 00023 int second; 00024 static char m[12][3]; 00025 }; 00026 00027 #endif
1.5.6