Location:
SCHINFO.H
Link against: schsvr.lib
class TScheduleEntryInfo2;
Contains detailed information for a single schedule entry.
A schedule can have any number of schedule entries. A client passes one or more of these objects, contained within an array,
to the RScheduler
functions that create or amend a schedule.
Defined in TScheduleEntryInfo2
:
Interval()
, IntervalType()
, SetInterval()
, SetIntervalType()
, SetStartTime()
, SetValidityPeriod()
, StartTime()
, TScheduleEntryInfo2()
, TScheduleEntryInfo2()
, TScheduleEntryInfo2()
, ValidityPeriod()
, operator=()
RScheduler::CreatePersistentSchedule()
RScheduler::EditSchedule()
RScheduler::ScheduleTask()
RScheduler::GetScheduleL()
IMPORT_C TScheduleEntryInfo2();
TScheduleEntryInfo2 Default constructor. It sets the object's members data to the following default values. iIntervalType : EHourly iStartTime : UTC time set to 0 iInterval : 0 iValidityPeriod : 0
IMPORT_C TScheduleEntryInfo2(const TScheduleEntryInfo2 &aEntryInfo);
Copy constructor for TScheduleEntryInfo2 Sets the parameter's data to this object.
|
IMPORT_C TScheduleEntryInfo2(const TTsTime &aStartTime, TIntervalType aIntervalType, TInt aInterval, TTimeIntervalMinutes
aValidityPeriod);
TScheduleEntryInfo2 constructor taking the specified parameters.
|
IMPORT_C TIntervalType IntervalType() const;
Returns the Interval Type
|
IMPORT_C void SetIntervalType(TIntervalType aIntervalType);
Sets the type of interval used between due times for this schedule entry. The type of interval used may be EHourly, EDaily, EMonthly or EYearly.
|
IMPORT_C const TTsTime &StartTime() const;
Returns the first time at which the entry will cause execution of tasks.
|
IMPORT_C void SetStartTime(const TTsTime &aStartTime);
Sets the first time the entry will cause execution of tasks.
|
IMPORT_C TInt Interval() const;
Returns the interval between execution of tasks.
|
IMPORT_C void SetInterval(TInt aInterval);
Sets the interval between execution of tasks. The way that this value is interpreted depends on the value of iIntervalType. For example, if the interval is 2 and iIntervalType has a value of EMonthly, then the interval is 2 months.
|
IMPORT_C TTimeIntervalMinutes ValidityPeriod() const;
Return the period for which the entry is valid. After the validity period has expired, tasks associated with the entry will not be eligible for execution
|
IMPORT_C void SetValidityPeriod(TTimeIntervalMinutes aValidityPeriod);
Sets the period for which the entry is valid. After the validity period has expired, tasks associated with the entry will not be eligible for execution
|
IMPORT_C TScheduleEntryInfo2 &operator=(const TScheduleEntryInfo2 &aEntryInfo);
Assignment operator for TScheduleEntryInfo2
|
|