New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
julian.hpp in vendors/XIOS/current/src/date – NEMO

source: vendors/XIOS/current/src/date/julian.hpp @ 3428

Last change on this file since 3428 was 3428, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

File size: 1.3 KB
Line 
1#ifndef __XMLIO_CJulianCalendar__
2#define __XMLIO_CJulianCalendar__
3
4/// xios headers ///
5#include "xmlioserver_spl.hpp"
6#include "calendar.hpp"
7
8namespace xios
9{
10      /// ////////////////////// Déclarations ////////////////////// ///
11      class CJulianCalendar : public CCalendar
12      {
13            /// Typedef ///
14            typedef CCalendar SuperClass;
15
16         public :
17
18            /// Constructeur ///
19//            CJulianCalendar(void);                                   // Not implemented yet.
20            CJulianCalendar(const StdString & dateStr);
21            CJulianCalendar(const StdString & dateStr,const StdString & timeOriginStr);
22            CJulianCalendar(int yr = 0, int mth = 1, int d   = 1,
23                            int hr = 0, int min = 0, int sec = 0);
24            CJulianCalendar(const CJulianCalendar & calendar);       // Not implemented yet.
25            CJulianCalendar(const CJulianCalendar * 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 ~CJulianCalendar(void);
34
35      }; // class CJulianCalendar
36
37} // namespace xmlioserver
38
39#endif // __XMLIO_CJulianCalendar__
Note: See TracBrowser for help on using the repository browser.