Last change
on this file since 288 was
219,
checked in by hozdoba, 13 years ago
|
Préparation nouvelle arborescence
|
File size:
1.0 KB
|
Line | |
---|
1 | #include "d360.hpp" |
---|
2 | |
---|
3 | namespace xmlioserver |
---|
4 | { |
---|
5 | namespace date |
---|
6 | { |
---|
7 | /// ////////////////////// Définitions ////////////////////// /// |
---|
8 | |
---|
9 | CD360Calendar::CD360Calendar(const StdString & dateStr) |
---|
10 | : CCalendar("D360", dateStr) |
---|
11 | { /* Ne rien faire de plus */ } |
---|
12 | |
---|
13 | CD360Calendar::CD360Calendar(int yr, int mth, int d, |
---|
14 | int hr, int min, int sec) |
---|
15 | : CCalendar("D360", yr, mth, d, hr, min, sec) |
---|
16 | { /* Ne rien faire de plus */ } |
---|
17 | |
---|
18 | CD360Calendar::~CD360Calendar(void) |
---|
19 | { /* Ne rien faire de plus */ } |
---|
20 | |
---|
21 | ///-------------------------------------------------------------- |
---|
22 | |
---|
23 | int CD360Calendar::getYearTotalLength(const CDate & date) const |
---|
24 | { return (360 * 86400); } |
---|
25 | |
---|
26 | int CD360Calendar::getMonthLength(const CDate & date) const |
---|
27 | { return (30); } |
---|
28 | |
---|
29 | StdString CD360Calendar::getType(void) const |
---|
30 | { return (StdString("d360")); } |
---|
31 | |
---|
32 | ///-------------------------------------------------------------- |
---|
33 | } // namespace date |
---|
34 | } // namespace xmlioserver |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.