source: XIOS/dev/branch_openmp/src/date/noleap.cpp @ 1501

Last change on this file since 1501 was 591, checked in by rlacroix, 9 years ago

Remove leftovers from the XMLIO age.

  • 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.4 KB
Line 
1#include "noleap.hpp"
2#include "calendar.hpp"
3
4namespace xios
5{
6      /// ////////////////////// Définitions ////////////////////// ///
7
8      CNoLeapCalendar::CNoLeapCalendar(const CDate& startDate)
9         : CCalendar("NoLeap", startDate)
10      {
11         // This will check that the dates are conform with the calendar.
12         // We cannot call this from the parent constructor because we
13         // want the methods of this class to be used
14         initializeDate();
15      }
16
17      CNoLeapCalendar::CNoLeapCalendar(const CDate& startDate, const CDate& timeOrigin)
18         : CCalendar("NoLeap", startDate, timeOrigin)
19      {
20         // This will check that the dates are conform with the calendar.
21         // We cannot call this from the parent constructor because we
22         // want the methods of this class to be used
23         initializeDate();
24      }
25
26      CNoLeapCalendar::CNoLeapCalendar(int yr, int mth, int d,
27                                       int hr, int min, int sec)
28         : CCalendar("NoLeap")
29      { initializeDate(yr, mth, d, hr, min, sec) ; }
30
31
32      CNoLeapCalendar::~CNoLeapCalendar(void)
33      { /* Ne rien faire de plus */ }
34
35      ///--------------------------------------------------------------
36
37      StdString CNoLeapCalendar::getType(void) const
38      { return (StdString("noleap")); }
39
40      ///--------------------------------------------------------------
41} // namespace xios
42
Note: See TracBrowser for help on using the repository browser.