35 bool SetPhase( wxString
const &sPhase );
43 void GetTime( wxTimeSpan &minTime, wxTimeSpan &maxTime, wxTimeSpan &avgSpan );
52 void GetDistance(
double &minDist,
double &maxDist,
double &avgDist,
PTUnit const &unit );
PTUnit
Unit.
Definition: Defines.h:69
PTPhase cPhase
Definition: Week.h:60
wxString ToString()
Return human readable string.
A training week.
Definition: Week.h:12
int number
Definition: Week.h:59
std::list< Training > training
Definition: Week.h:61
void GetDistance(double &minDist, double &maxDist, double &avgDist, PTUnit const &unit)
Get total min, max and average distance for this week.
bool SetPhase(wxString const &sPhase)
Set phase for this week.
PTPhase
Training program phase.
Definition: Defines.h:116
void Sort()
Sort week based on training dates.
wxString GetPhaseString() const
Get which phase this week is in.
void GetTime(wxTimeSpan &minTime, wxTimeSpan &maxTime, wxTimeSpan &avgSpan)
Get total min, max and average time fro this week.