[219] | 1 | #ifndef __XMLIO_CCalendar_util__ |
---|
| 2 | #define __XMLIO_CCalendar_util__ |
---|
| 3 | |
---|
[335] | 4 | /// xios headers /// |
---|
[219] | 5 | #include "xmlioserver_spl.hpp" |
---|
| 6 | #include "exception.hpp" |
---|
| 7 | #include "calendar.hpp" |
---|
| 8 | |
---|
[335] | 9 | namespace xios |
---|
[219] | 10 | { |
---|
| 11 | /// ////////////////////// Déclarations ////////////////////// /// |
---|
| 12 | |
---|
| 13 | CDuration operator*(const double & scal, const CDuration & ddr); |
---|
| 14 | CDuration operator-(const CDuration & ddr , const CDuration & dr); |
---|
| 15 | CDuration operator+(const CDuration & ddr , const CDuration & dr); |
---|
| 16 | CDuration operator*(const CDuration & ddr , const double & scal); |
---|
| 17 | CDuration operator-(const CDuration & ddr); |
---|
| 18 | |
---|
| 19 | CDate operator+(const CDate & dt, const CDuration & dr); // Non testée. |
---|
| 20 | CDate operator-(const CDate & dt, const CDuration & dr); |
---|
| 21 | |
---|
| 22 | CDuration operator-(const CDate & dt0, const CDate & dt1); |
---|
| 23 | |
---|
| 24 | /// Les opérateurs de comparaison. (Non testés pour le moment) |
---|
| 25 | bool operator==(const CDate& dt0, const CDate& dt1); |
---|
| 26 | bool operator< (const CDate& dt0, const CDate& dt1); |
---|
| 27 | |
---|
| 28 | bool operator!=(const CDate & dt0, const CDate & dt1); |
---|
| 29 | bool operator> (const CDate & dt0, const CDate & dt1); |
---|
| 30 | bool operator>=(const CDate & dt0, const CDate & dt1); |
---|
| 31 | bool operator<=(const CDate & dt0, const CDate & dt1); |
---|
| 32 | |
---|
| 33 | ///--------------------------------------------------------------- |
---|
| 34 | |
---|
[335] | 35 | } // namespace xios |
---|
[219] | 36 | |
---|
| 37 | #endif //__XMLIO_CCalendar_util__ |
---|