#include <mw/msvoffpeaktime.h>
Link against: schsend.lib
| class CMsvOffPeakTimes : public CArrayFixFlat< TMsvOffPeakTime > |
| Public Member Functions | |
|---|---|
| CMsvOffPeakTimes() | |
| IMPORT_C TInt | GetNextOffPeakTime(const TTime &, TMsvOffPeakTime &, TTime &) |
Array of off-peak time data.
This represents all the off-peak time periods in each week.
| IMPORT_C TInt | GetNextOffPeakTime | ( | const TTime & | aFromTime, |
| TMsvOffPeakTime & | aNext, | |||
| TTime & | aNextTime | |||
| ) | const | |||
Gets the off-peak time period that is after and closest to a specified time.
If aFromTime is within an off-peak time period, then that off-peak time period is returned.
See also: TMsvOffPeakTime::NextTimeInclusive() for details.
| Parameters | |
|---|---|
| aFromTime | Time to find. |
| aNext | On return, the off-peak time period that is closest to aFromTime. |
| aNextTime | On return, the next start of aNext from aFromTime. |