CESMRRecurrenceInfoHandler Class Reference
class CESMRRecurrenceInfoHandler : public CBase
|
Inherits from
-
CESMRRecurrenceInfoHandler
Public Member Functions
|
|
~CESMRRecurrenceInfoHandler
()
|
IMPORT_C void
|
AddExceptionL
(
TCalTime
,
TCalTime
)
|
IMPORT_C void
|
CopyRecurrenceInformationFromL
(const
CCalEntry
&)
|
IMPORT_C void
|
CopyRecurrenceInformationToL
(
CCalEntry
&)
|
IMPORT_C void
|
GetFirstInstanceTimeL
(
TCalTime
&,
TCalTime
&)
|
IMPORT_C void
|
GetNextInstanceTimeL
(
TCalTime
&,
TCalTime
&,
TTime
)
|
IMPORT_C void
|
GetPreviousInstanceTimeL
(
TCalTime
&,
TCalTime
&,
TTime
)
|
IMPORT_C void
|
GetRecurrenceL
(
TESMRRecurrenceValue
&,
TTime
&)
|
IMPORT_C
CESMRRecurrenceInfoHandler
*
|
NewL
(
CCalEntry
&)
|
IMPORT_C
CESMRRecurrenceInfoHandler
*
|
NewL
(
CCalEntry
&,
MESMRCalDbMgr
*)
|
IMPORT_C
CESMRRecurrenceInfoHandler
*
|
NewLC
(
CCalEntry
&)
|
IMPORT_C
CESMRRecurrenceInfoHandler
*
|
NewLC
(
CCalEntry
&,
MESMRCalDbMgr
*)
|
IMPORT_C void
|
RemoveInstanceL
(
TCalTime
)
|
IMPORT_C void
|
SetRecurrenceL
(
TESMRRecurrenceValue
,
TTime
)
|
Private Member Functions
|
|
CESMRRecurrenceInfoHandler
(
CCalEntry
&,
MESMRCalDbMgr
*)
|
void
|
CalculateRecurrenceUntilDateL
(
TESMRRecurrenceValue
,
TTime
&,
TCalRRule
&, const
CCalEntry
&)
|
void
|
ConstructL
()
|
TTime
|
GetNextInstanceForRepeatOtherL
(
CCalEntry
&, const
CalCommon::TCalTimeRange
&)
|
TTime
|
GetPreviousInstanceForRepeatOtherL
(
CCalEntry
&, const
CalCommon::TCalTimeRange
&)
|
void
|
HandleDailyRecurrenceL
(
TESMRRecurrenceValue
&,
TCalRRule
&)
|
void
|
HandleMonthlyRecurrenceL
(
TESMRRecurrenceValue
&,
TCalRRule
&)
|
void
|
HandleWeeklyRecurrenceL
(
TESMRRecurrenceValue
&,
TCalRRule
&)
|
void
|
HandleYearlyRecurrenceL
(
TESMRRecurrenceValue
&,
TCalRRule
&)
|
TBool
|
NeedToSetRecurrenceL
(
TESMRRecurrenceValue
,
TTime
)
|
TESMRRecurrenceValue
|
RepeatIndexL
(const
CCalEntry
&)
|
Constructor & Destructor Documentation
CESMRRecurrenceInfoHandler(CCalEntry &, MESMRCalDbMgr *)
~CESMRRecurrenceInfoHandler()
IMPORT_C
|
~CESMRRecurrenceInfoHandler
|
(
|
)
|
|
Member Functions Documentation
AddExceptionL(TCalTime, TCalTime)
IMPORT_C void
|
AddExceptionL
|
(
|
TCalTime
|
aNewInstanceTime,
|
|
TCalTime
|
aOrginalInstanceTime
|
|
)
|
|
Removes calendar instance from entry.
Parameters
TCalTime
aNewInstanceTime
|
New instance time
|
TCalTime
aOrginalInstanceTime
|
Orginal instance time
|
CalculateRecurrenceUntilDateL(TESMRRecurrenceValue, TTime &, TCalRRule &, const CCalEntry &)
void
|
CalculateRecurrenceUntilDateL
|
(
|
TESMRRecurrenceValue
|
aRecurrenceType,
|
|
TTime
&
|
aUntil,
|
|
TCalRRule
&
|
aRule,
|
|
const
CCalEntry
&
|
aEntry
|
|
)
|
const [private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
CopyRecurrenceInformationFromL(const CCalEntry &)
IMPORT_C void
|
CopyRecurrenceInformationFromL
|
(
|
const
CCalEntry
&
|
aSource
|
)
|
|
Copies recurrence information from entry given as parameter.
Parameters
const
CCalEntry
& aSource
|
Reference to source calendar entry
|
CopyRecurrenceInformationToL(CCalEntry &)
IMPORT_C void
|
CopyRecurrenceInformationToL
|
(
|
CCalEntry
&
|
aDestination
|
)
|
|
Copies recurrence information to entry given as parameter.
Parameters
CCalEntry
& aDestination
|
Reference to destination calendar entry
|
GetFirstInstanceTimeL(TCalTime &, TCalTime &)
Gets first instances start and end time.
Parameters
TCalTime
& aStart
|
Reference to start time.
|
TCalTime
& aEnd
|
Reference to end time.
|
GetNextInstanceForRepeatOtherL(CCalEntry &, const CalCommon::TCalTimeRange &)
GetNextInstanceTimeL(TCalTime &, TCalTime &, TTime)
IMPORT_C void
|
GetNextInstanceTimeL
|
(
|
TCalTime
&
|
aNextStartTime,
|
|
TCalTime
&
|
aNextEndTime,
|
|
TTime
|
aInstanceDateTime
|
|
)
|
|
Gets the start and end times of the next instance.
GetPreviousInstanceForRepeatOtherL(CCalEntry &, const CalCommon::TCalTimeRange &)
GetPreviousInstanceTimeL(TCalTime &, TCalTime &, TTime)
IMPORT_C void
|
GetPreviousInstanceTimeL
|
(
|
TCalTime
&
|
aPreviousStartTime,
|
|
TCalTime
&
|
aPreviousEndTime,
|
|
TTime
|
aInstanceDateTime
|
|
)
|
|
Gets the start and end times of the previous instance.
GetRecurrenceL(TESMRRecurrenceValue &, TTime &)
IMPORT_C void
|
GetRecurrenceL
|
(
|
TESMRRecurrenceValue
&
|
aRecurrence,
|
|
TTime
&
|
aUntil
|
|
)
|
const
|
Fetches entry's recurrence value.
Parameters
TESMRRecurrenceValue
& aRecurrence
|
On return contains entry's recurrence information
|
TTime
& aUntil
|
On return contains time in UTC until recurrence is valid.
|
HandleDailyRecurrenceL(TESMRRecurrenceValue &, TCalRRule &)
void
|
HandleDailyRecurrenceL
|
(
|
TESMRRecurrenceValue
&
|
aRecurrenceValue,
|
|
TCalRRule
&
|
aRule
|
|
)
|
const [private]
|
Parameters
TESMRRecurrenceValue
& aRecurrenceValue
|
|
TCalRRule
& aRule
|
|
HandleMonthlyRecurrenceL(TESMRRecurrenceValue &, TCalRRule &)
void
|
HandleMonthlyRecurrenceL
|
(
|
TESMRRecurrenceValue
&
|
aRecurrenceValue,
|
|
TCalRRule
&
|
aRule
|
|
)
|
const [private]
|
Parameters
TESMRRecurrenceValue
& aRecurrenceValue
|
|
TCalRRule
& aRule
|
|
HandleWeeklyRecurrenceL(TESMRRecurrenceValue &, TCalRRule &)
void
|
HandleWeeklyRecurrenceL
|
(
|
TESMRRecurrenceValue
&
|
aRecurrenceValue,
|
|
TCalRRule
&
|
aRule
|
|
)
|
const [private]
|
Parameters
TESMRRecurrenceValue
& aRecurrenceValue
|
|
TCalRRule
& aRule
|
|
HandleYearlyRecurrenceL(TESMRRecurrenceValue &, TCalRRule &)
void
|
HandleYearlyRecurrenceL
|
(
|
TESMRRecurrenceValue
&
|
aRecurrenceValue,
|
|
TCalRRule
&
|
aRule
|
|
)
|
const [private]
|
Parameters
TESMRRecurrenceValue
& aRecurrenceValue
|
|
TCalRRule
& aRule
|
|
NeedToSetRecurrenceL(TESMRRecurrenceValue, TTime)
TBool
|
NeedToSetRecurrenceL
|
(
|
TESMRRecurrenceValue
|
aRecurrence,
|
|
TTime
|
aUntil
|
|
)
|
const [private]
|
Parameters
TESMRRecurrenceValue
aRecurrence
|
|
TTime
aUntil
|
|
NewL(CCalEntry &)
Parameters
CCalEntry
& aEntry
|
Reference to calendar entry.
|
NewL(CCalEntry &, MESMRCalDbMgr *)
Two-phased constructor. Creates and initializes
CESMRRecurrenceInfoHandler
object. Ownership transferred to caller. Created object is left to cleanup stack.
Parameters
CCalEntry
& aEntry
|
Reference to calendar entry.
|
MESMRCalDbMgr
* aCalDb
|
Pointer to caldb manager. Ownership not transferred.
|
NewLC(CCalEntry &)
Parameters
CCalEntry
& aEntry
|
Reference to calendar entry.
|
NewLC(CCalEntry &, MESMRCalDbMgr *)
Two-phased constructor. Creates and initializes
CESMRRecurrenceInfoHandler
object. Ownership transferred to caller. Created object is left to cleanup stack.
RemoveInstanceL(TCalTime)
IMPORT_C void
|
RemoveInstanceL
|
(
|
TCalTime
|
aInstanceTime
|
)
|
|
Removes instance from series.
Parameters
TCalTime
aInstanceTime
|
Instance to be removed
|
RepeatIndexL(const CCalEntry &)
TESMRRecurrenceValue
|
RepeatIndexL
|
(
|
const
CCalEntry
&
|
aEntry
|
)
|
[private]
|
SetRecurrenceL(TESMRRecurrenceValue, TTime)
IMPORT_C void
|
SetRecurrenceL
|
(
|
TESMRRecurrenceValue
|
aRecurrence,
|
|
TTime
|
aUntil
|
|
)
|
|
Sets recurrence to ES MR entry. If until time is not set (i.e, it is null time), then until time is implementation dependent.
When recurrence is set to ERecurrenceNot, then aUntil parameter is ignored.
Parameters
TESMRRecurrenceValue
aRecurrence
|
|
TTime
aUntil
|
Recurrence valid until in UTC format.
|
Member Data Documentation
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.