]> SALOME platform Git repositories - modules/kernel.git/blob - src/Batch/Batch_Date.hxx
Salome HOME
PR: mergefrom_BR_BATCH_22Oct04
[modules/kernel.git] / src / Batch / Batch_Date.hxx
1 /*
2  * Date.hxx : 
3  *
4  * Auteur : Ivan DUTKA-MALEN - EDF R&D
5  * Mail   : mailto:ivan.dutka-malen@der.edf.fr
6  * Date   : Wed Nov 26 14:11:42 2003
7  * Projet : Salome 2
8  *
9  */
10
11 #ifndef _DATE_H_
12 #define _DATE_H_
13
14 using namespace std;
15 #include <string>
16
17 namespace Batch {
18
19   class Date
20   {
21   public:
22     Date(const long l=0);
23     Date(const string s);
24     virtual Date & operator =(long l);
25     virtual Date & operator +(long l);
26     virtual Date & operator -(long l);
27     virtual Date & operator +=(long l);
28     virtual Date & operator -=(long l);
29     virtual Date & operator =(const string & s);
30     virtual string str() const;
31     virtual long epoch() const;
32
33   protected:
34     int _day, _month, _year;
35     int _hour, _min, _sec;
36
37   private:
38
39   };
40
41 }
42
43 #endif
44
45 // COMMENTS