source: XMLIO_V2/dev/common/src/xmlio/calendar_util.hpp @ 219

Last change on this file since 219 was 219, checked in by hozdoba, 13 years ago

Préparation nouvelle arborescence

File size: 1.4 KB
Line 
1#ifndef __XMLIO_CCalendar_util__
2#define __XMLIO_CCalendar_util__
3
4/// xmlioserver headers ///
5#include "xmlioserver_spl.hpp"
6#include "exception.hpp"
7#include "calendar.hpp"
8
9namespace xmlioserver
10{
11   namespace date
12   {
13      /// ////////////////////// Déclarations ////////////////////// ///
14
15      CDuration operator*(const double    & scal, const CDuration & ddr);
16      CDuration operator-(const CDuration & ddr , const CDuration & dr);
17      CDuration operator+(const CDuration & ddr , const CDuration & dr);
18      CDuration operator*(const CDuration & ddr , const double    & scal);
19      CDuration operator-(const CDuration & ddr);
20
21      CDate operator+(const CDate & dt, const CDuration & dr); // Non testée.
22      CDate operator-(const CDate & dt, const CDuration & dr);
23
24      CDuration operator-(const CDate & dt0, const CDate & dt1);
25
26      /// Les opérateurs de comparaison. (Non testés pour le moment)
27      bool operator==(const CDate& dt0, const CDate& dt1);
28      bool operator< (const CDate& dt0, const CDate& dt1);
29
30      bool operator!=(const CDate & dt0, const CDate & dt1);
31      bool operator> (const CDate & dt0, const CDate & dt1);
32      bool operator>=(const CDate & dt0, const CDate & dt1);
33      bool operator<=(const CDate & dt0, const CDate & dt1);
34
35      ///---------------------------------------------------------------
36
37   } // namespace date
38} // namespace xmlioserver
39
40#endif //__XMLIO_CCalendar_util__
Note: See TracBrowser for help on using the repository browser.