TScheduleEntryInfo2 Class Reference
class TScheduleEntryInfo2
|
Constructor & Destructor Documentation
TScheduleEntryInfo2()
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
TScheduleEntryInfo2(const TScheduleEntryInfo2 &)
TScheduleEntryInfo2(const TTsTime &, TIntervalType, TInt, TTimeIntervalMinutes)
Parameters
const
TTsTime
& aStartTime
|
The first time that the entry will cause execution of tasks
|
TIntervalType
aIntervalType
|
Defines the type of time-frame relative to which execution of tasks is timed; for example, EHourly implies relative to the current hour, EDaily implies relative to the current day
|
TInt
aInterval
|
The interval between execution of tasks For a schedule entry interval to be valid, it should be greater than or equal to 1
|
TTimeIntervalMinutes
aValidityPeriod
|
|
TScheduleEntryInfo2(const TScheduleEntryInfo &)
Non exported constructor accepting a
TScheduleEntryInfo
parameter This constructor is provided for use with the deprecated APIs. This will assume home time in order to maintain backwards compatibility and will create a #
TScheduleEntryInfo2
object with a local time based start time.
TScheduleEntryInfo
Member Functions Documentation
ExternalizeL(RWriteStream &)
Externalises an object of this class to a write stream. The presence of this function means that the standard templated
operator<<()
can be used to externalise objects of this class.
Parameters
RWriteStream
& aStream
|
Stream to which the object should be externalised. only used by server
|
InternalizeL(RReadStream &)
Internalises an object of this class from a read stream. The presence of this function means that the standard templated
operator>>()
can be used to internalise objects of this class.
Parameters
RReadStream
& aStream
|
Stream from which the object is to be internalised. only used by server
|
Interval()
IMPORT_C
TInt
|
Interval
|
(
|
)
|
const
|
ProcessOffsetEvent()
void
|
ProcessOffsetEvent
|
(
|
)
|
|
SetInterval(TInt)
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.
Parameters
TInt
aInterval
|
For a schedule entry interval to be valid, it should be greater than or equal to 1.
|
SetIntervalType(TIntervalType)
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.
TIntervalType
SetStartTime(const TTsTime &)
IMPORT_C void
|
SetStartTime
|
(
|
const
TTsTime
&
|
aStartTime
|
)
|
|
Sets the first time the entry will cause execution of tasks.
TTsTime
Parameters
const
TTsTime
& aStartTime
|
This TTsTime value may be either UTC or local time based. If this is a local time based value, the schedule entry will remain at that local time regardless of timezone and DST changes (ie. it will float) If the value is UTC based, the schedule entry will remain at that UTC time (will not float).
|
SetValidityPeriod(TTimeIntervalMinutes)
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
TTimeIntervalMinutes
StartTime()
IMPORT_C const
TTsTime
&
|
StartTime
|
(
|
)
|
const
|
Returns the first time at which the entry will cause execution of tasks.
TTsTime
ValidityPeriod()
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
operator=(const TScheduleEntryInfo2 &)
Member Data Documentation
TInt
iInterval
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. The interval must have a minimum value of 1.
TIntervalType
iIntervalType
Defines the type of interval between the execution of tasks. May be EHourly, EDaily, EMonthly or EYearly.
TAny * iReserved
TAny
*
|
iReserved
|
[private]
|
TTsTime
iStartTime
The first time that the entry will cause execution of tasks.
TTimeIntervalMinutes
iValidityPeriod
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.