source: XIOS/dev/dev_olga/src/src/date/allleap.hpp @ 1022

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