source: XIOS/dev/common/src/date/julian.hpp @ 1620

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

Préparation nouvelle arborescence

File size: 1.3 KB
Line 
1#ifndef __XMLIO_CJulianCalendar__
2#define __XMLIO_CJulianCalendar__
3
4/// xmlioserver headers ///
5#include "xmlioserver_spl.hpp"
6#include "calendar.hpp"
7
8namespace xmlioserver
9{
10   namespace date
11   {
12      /// ////////////////////// Déclarations ////////////////////// ///
13      class CJulianCalendar : public CCalendar
14      {
15            /// Typedef ///
16            typedef CCalendar SuperClass;
17
18         public :
19
20            /// Constructeur ///
21            CJulianCalendar(void);                                   // Not implemented yet.
22            CJulianCalendar(const StdString & dateStr);
23            CJulianCalendar(int yr = 0, int mth = 1, int d   = 1,
24                            int hr = 0, int min = 0, int sec = 0);
25            CJulianCalendar(const CJulianCalendar & calendar);       // Not implemented yet.
26            CJulianCalendar(const CJulianCalendar * calendar);       // Not implemented yet.
27
28            /// Accesseurs ///
29            virtual int getYearTotalLength(const CDate & date) const;
30            virtual int getMonthLength(const CDate & date) const;
31            virtual StdString getType(void) const;
32
33            /// Destructeur ///
34            virtual ~CJulianCalendar(void);
35
36      }; // class CJulianCalendar
37
38   } // namespace date
39} // namespace xmlioserver
40
41#endif // __XMLIO_CJulianCalendar__
Note: See TracBrowser for help on using the repository browser.