Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: MsvOffPeakTime.h
Link against: schsend.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CMsvOffPeakTimes

class CMsvOffPeakTimes : public CArrayFixFlat< TMsvOffPeakTime >;

Description

Array of off-peak time data.

This represents all the off-peak time periods in each week.

Derivation

Members

Defined in CMsvOffPeakTimes:
CMsvOffPeakTimes(), GetNextOffPeakTime()


Construction and destruction


CMsvOffPeakTimes()

IMPORT_C CMsvOffPeakTimes();

Description

Default constructor.

[Top]


Member functions


GetNextOffPeakTime()

IMPORT_C TInt GetNextOffPeakTime(const TTime &aFromTime, TMsvOffPeakTime &aNext, TTime &aNextTime) const;

Description

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.

Parameters

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.

Return value

TInt

KErrNotFound The array does not contain any off-peak time periods.

See also: