Last change
on this file since 2562 was
501,
checked in by ymipsl, 10 years ago
|
Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src
XIOS is now officialy under CeCILL licence
YM
|
-
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.1 KB
|
Line | |
---|
1 | #include "d360.hpp" |
---|
2 | |
---|
3 | namespace xios |
---|
4 | { |
---|
5 | /// ////////////////////// Définitions ////////////////////// /// |
---|
6 | |
---|
7 | CD360Calendar::CD360Calendar(const StdString & dateStr) |
---|
8 | : CCalendar("D360") |
---|
9 | { initializeDate(dateStr); } |
---|
10 | |
---|
11 | CD360Calendar::CD360Calendar(const StdString & dateStr,const StdString & timeOriginStr) |
---|
12 | : CCalendar("D360", dateStr) |
---|
13 | { initializeDate(dateStr, timeOriginStr); } |
---|
14 | |
---|
15 | CD360Calendar::CD360Calendar(int yr, int mth, int d, |
---|
16 | int hr, int min, int sec) |
---|
17 | : CCalendar("D360") |
---|
18 | { initializeDate(yr, mth, d, hr, min, sec) ; } |
---|
19 | |
---|
20 | CD360Calendar::~CD360Calendar(void) |
---|
21 | { /* Ne rien faire de plus */ } |
---|
22 | |
---|
23 | ///-------------------------------------------------------------- |
---|
24 | |
---|
25 | int CD360Calendar::getYearTotalLength(const CDate & date) const |
---|
26 | { return (360 * 86400); } |
---|
27 | |
---|
28 | int CD360Calendar::getMonthLength(const CDate & date) const |
---|
29 | { return (30); } |
---|
30 | |
---|
31 | StdString CD360Calendar::getType(void) const |
---|
32 | { return (StdString("360_day")); } |
---|
33 | |
---|
34 | ///-------------------------------------------------------------- |
---|
35 | } // namespace xmlioserver |
---|
36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.