| class CMsvOffPeakTimes : public CArrayFixFlat< TMsvOffPeakTime > |
Array of off-peak time data.
This represents all the off-peak time periods in each week.
| Public Member Functions | |
|---|---|
| CMsvOffPeakTimes() | |
| IMPORT_C TInt | GetNextOffPeakTime(const TTime &, TMsvOffPeakTime &, TTime &) |
| 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.
TMsvOffPeakTime::NextTimeInclusive() for details.
KErrNotFound The array does not contain any off-peak time periods.
| const TTime & aFromTime | Time to find. |
| TMsvOffPeakTime & aNext | On return, the off-peak time period that is closest to aFromTime. |
| TTime & aNextTime | On return, the next start of aNext from aFromTime. |