source: XMLIO_V2/dev/common/src/xmlio/date/gregorian.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.3 KB
Line 
1#ifndef __XMLIO_CGregorianCalendar__
2#define __XMLIO_CGregorianCalendar__
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 CGregorianCalendar : public CCalendar
14      {
15            /// Typedef ///
16            typedef CCalendar SuperClass;
17
18         public :
19
20            /// Constructeur ///
21            CGregorianCalendar(void);                                   // Not implemented yet.
22            CGregorianCalendar(const StdString & dateStr);
23            CGregorianCalendar(int yr = 0, int mth = 1, int d   = 1,
24                               int hr = 0, int min = 0, int sec = 0);
25            CGregorianCalendar(const CGregorianCalendar & calendar);       // Not implemented yet.
26            CGregorianCalendar(const CGregorianCalendar * 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 ~CGregorianCalendar(void);
35
36      }; // class CGregorianCalendar
37
38   } // namespace date
39} // namespace xmlioserver
40
41#endif // __XMLIO_CGregorianCalendar__
Note: See TracBrowser for help on using the repository browser.