source: XIOS/dev/dev_trunk_omp/src/date/allleap.hpp @ 1630

Last change on this file since 1630 was 1630, checked in by yushan, 6 years ago

working branch @1608 with bug fix @1628

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 1.3 KB
RevLine 
[591]1#ifndef __XIOS_CAllLeapCalendar__
2#define __XIOS_CAllLeapCalendar__
[219]3
[591]4/// XIOS headers ///
5#include "xios_spl.hpp"
[219]6#include "calendar.hpp"
7
[335]8namespace xios
[219]9{
10      /// ////////////////////// Déclarations ////////////////////// ///
11      class CAllLeapCalendar : public CCalendar
12      {
13            /// Typedef ///
14            typedef CCalendar SuperClass;
15
16         public :
17
18            /// Constructeur ///
[334]19//            CAllLeapCalendar(void);                                   // Not implemented yet.
[532]20            CAllLeapCalendar(const CDate& startDate);
21            CAllLeapCalendar(const CDate& startDate, const CDate& timeOriginStr);
[219]22            CAllLeapCalendar(int yr = 0, int mth = 1, int d   = 1,
[532]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.
[219]26
27            /// Accesseurs ///
[1630]28            virtual int getYearTotalLength(const CDate & date) const;
[219]29            virtual int getMonthLength(const CDate & date) const;
[1630]30            virtual StdString getType(void) const;
[219]31
32            /// Destructeur ///
[1630]33            virtual ~CAllLeapCalendar(void);
[219]34
35      }; // class CAllLeapCalendar
36
[591]37} // namespace xios
[219]38
[591]39#endif // __XIOS_CAllLeapCalendar__
Note: See TracBrowser for help on using the repository browser.