#include <TimeHandlerClass.h>
Public Member Functions | |
| int | STARTYEAR () |
| Fixed times. | |
| int | STARTMONTH () |
| int | STARTDAY () |
| int | STOPYEAR () |
| int | STOPMONTH () |
| int | STOPDAY () |
| int | IRRIGATIONSTARTMONTH () |
| int | IRRIGATIONSTOPMONTH () |
| bool | isIrrigationMonth () |
| bool | isIrrigationMonth (int m) |
| virtual int | MONATE () |
| Access to total model times. | |
| virtual int | TOTAL_IRRIGATION_MONTHS () |
| virtual int | TOTALPERIODS () |
| virtual bool | ISNORTHERN () |
| void | setMONATE (int m_) |
| int | GETMONTH () |
| Access to current time (real-time counting). | |
| int | GETYEAR () |
| string | GETMONTH_string () |
| string | GETYEAR_string () |
| int | PERIODE () |
| Access to current time (internal model counting). | |
| int | CURRENTMODELPERIOD () |
| int | CURRENTMODELMONTH () |
| void | initializeDummy () |
| Read and write. | |
| void | readTimeHandler (string filename) |
| void | readFromFile (string filename) |
| void | writeToFile (string fn) |
| void | writeAsRead (ofstream &outstream) |
| virtual void | setSTOPYEAR (int absoluteStopYear_) |
| Set and reset time. | |
| void | resetAllDatesToStart () |
| void | reset () |
| virtual void | resetToStartOfYear (int _year) |
| virtual void | resetToStartOfYear (int _year, string comment) |
| void | nextMonth () |
| Next time step. | |
| void | nextPeriod () |
| void | printCurrentTimeStatus (std::ostream *outstream) |
| Output functions. | |
| void | printToScreen () |
| void | printDaysPerMonth () |
| bool | isLeapYear (int y_year) |
| Information on length of years, etc. | |
| int | getDaysPerMonth (int m_month, int y_year) |
| int | DAYSperTHISMONTH () |
| TimeHandler () | |
| Constructor, destructor. | |
| TimeHandler (TimeHandler &sourceHandle, string nm) | |
| virtual | ~TimeHandler () |
| virtual void | deallocate () |
| virtual void | copy (TimeHandler &sourceHandle) |
| virtual void | setNameOfHandler (string nm_) |
| virtual string | getNameOfHandler () |
| virtual void | SETMONTH (int m_) |
| virtual void | SETYEAR (int y_) |
Private Member Functions | |
| virtual void | setSTARTYEAR (int absoluteStartYear_) |
| Access to current time (real-time counting). | |
| virtual void | setSTARTMONTH (int absoluteStartMonth_) |
| virtual void | setSTOPMONTH (int absoluteStopMonth_) |
| virtual void | setISNORTHERN (bool isNorthern_) |
| void | updateIrrigationMonths () |
| void | updateIrrigationMonths (bool doOutput) |
| void | initDaysPerMonths () |
| bool | checkIfCountUpYear () |
| void | addYearInTimeHandler () |
Private Attributes | |
| int | currentAbsoluteMonth |
| int | currentAbsoluteYear |
| int | currentRelativePeriod |
| int | currentRelativeMonth |
| int | absoluteStartYear |
| int | absoluteStartMonth |
| int | absoluteStartDay |
| int | absoluteStopYear |
| int | absoluteStopMonth |
| int | absoluteStopDay |
| int | irrigationStartMonth |
| int | irrigationStopMonth |
| int | maximumNumberOfIrrigationMonths |
| int | maximumNumberOfPeriodsModeled |
| bool | isNorthernHemisphere |
| int * | daysPerMonth |
| Determining number of days in month. | |
| string * | monthString |
| string | nameOfThisHandler |
|
|
Constructor, destructor.
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Access to current time (real-time counting).
|
|
|
|
Here is the call graph for this function:

|
|
|
|
|
|
|
|
|
Here is the call graph for this function:

|
|
|
|
|
Read and write.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Information on length of years, etc.
|
|
|
|
|
|
Access to total model times.
|
|
|
Next time step.
|
|
|
|
|
|
Access to current time (internal model counting).
|
|
|
Output functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Access to current time (real-time counting).
|
|
|
|
|
|
Set and reset time.
|
|
|
|
|
|
|
|
|
|
|
|
Fixed times.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Determining number of days in month.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1