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