Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: agmrptd.h
Link against: agnmodel.lib

Class TAgnDailyRpt

TAgnDailyRpt

Support

Supported from 5.0

Description

Daily repeat details — stores the number of days between repeats. The repeat details are used by the CAgnRptDef class, which also stores a list of any exceptions to the repeat.

Derivation

TAgnDailyRptDaily repeat details -- stores the number of days between repeats
TAgnRptThis class stores the repeat details common to all agenda model repeat types

Defined in TAgnDailyRpt:
FindRptEndDate(), InstanceCount(), TAgnDailyRpt()

Inherited from TAgnRpt:
ClearAll(), DisplayNextOnly(), EndDate(), EndDateAsAgnDate(), ExternalizeL(), InternalizeL(), Interval(), RepeatForever(), SetDisplayNextOnly(), SetEndDate(), SetInterval(), SetRepeatForever(), SetStartDate(), StartDate(), StartDateAsAgnDate(), operator==()


Construction


TAgnDailyRpt()

TAgnDailyRpt();

Description

The default C++ constructor is used to construct a daily repeat object.


TAgnDailyRpt()

TAgnDailyRpt(const TAgnRpt& aRpt);

Description

The C++ copy constructor constructs a new TAgnDailyRpt object from an existing TAgnRpt-derived object.

Parameters

const TAgnRpt& aRpt

The object to be copied.


TAgnDailyRpt()

TAgnDailyRpt(const TAgnDailyRpt& aRpt);

Description

The C++ copy constructor constructs a new TAgnDailyRpt object from an existing TAgnDailyRpt object.

Parameters

const TAgnDailyRpt& aRpt

The object to be copied.

[Top]


Get repeat details


FindRptEndDate()

virtual TTime FindRptEndDate(TUint aCount) const;

Description

Calculates the repeat's end date from the specified number of instances. If the end date would be after the agenda model’s valid date range, returns a NULL TTime value.

Parameters

TUint aCount

The number of instances.

Return value

TTime

The end date.


InstanceCount()

virtual TUint InstanceCount() const;

Description

Returns the number of instances generated by the repeat algorithm.

Return value

TUint

The number of instances.