Location:
agmrptd.h
Link against: agnmodel.lib
TAgnYearlyByDayRpt
Supported from 5.0
A yearly by day repeat. In addition to a start date, stores the day in the week, and the week in the month on which the repeat should occur, e.g. Wednesday of the third week of November every year.
|
Defined in TAgnYearlyByDayRpt:
ExternalizeL(), FindRptEndDate(), GetStartDay(), InstanceCount(), InternalizeL(), SetStartDay(), TAgnYearlyByDayRpt()
Inherited from TAgnRpt:
ClearAll(),
DisplayNextOnly(),
EndDate(),
EndDateAsAgnDate(),
Interval(),
RepeatForever(),
SetDisplayNextOnly(),
SetEndDate(),
SetInterval(),
SetRepeatForever(),
SetStartDate(),
StartDate(),
StartDateAsAgnDate(),
operator==()
TAgnYearlyByDayRpt(const TAgnRpt& aRpt);
The C++ copy constructor copies a new
TAgnYearlyByDayRpt object from a TAgnRpt-derived
object.
|
TAgnYearlyByDayRpt(const TAgnYearlyByDayRpt& aRpt);
The C++ copy constructor copies a new
TAgnYearlyByDayRpt object from an existing
one.
|
void SetStartDay(TDay aDay,TWeekInMonth aWeek,TMonth aMonth,TInt aYear);
Sets the repeat’s start date using the details specified.
|
virtual TTime FindRptEndDate(TUint aCount) const;
Calculates the repeat’s end date from the specified number of instances.
|
|
void GetStartDay(TDay& aDay,TWeekInMonth& aWeek,TMonth& aMonth,TInt& aYear) const;
Returns the start day, week, month and year for the current start date.
|
virtual TUint InstanceCount() const;
Returns the number of yearly repeat instances.
|
virtual void ExternalizeL(RWriteStream& aStream) const;
Externalises the yearly by day repeat object to a write stream.
|
virtual void InternalizeL(RReadStream& aStream);
Internalises the yearly by day repeat object from a read stream.
|