Location:
agmids.h
Link against: agnmodel.lib
TAgnInstanceDateTimeId
Supported from 5.0
An instance ID which additionally stores the instance’s
start and end dates / times. CAgnDayDateTimeInstanceList
is a list
of TAgnInstanceDateTimeId
s. It is populated using
CAgnModel::PopulateDayDateTimeInstanceListL()
. The date and time
are stored using agenda model dates and times i.e. a number of days since the
agenda model’s minimum valid date and a number of minutes since
midnight, respectively.
|
Defined in TAgnInstanceDateTimeId
:
EndDate()
, EndTime()
, HasNullEndTime()
, HasNullStartTime()
, SetEndDate()
, SetEndTime()
, SetStartDate()
, SetStartTime()
, StartDate()
, StartTime()
Inherited from TAgnId
:
Id()
,
IsNullId()
,
SetNullId()
,
operator<()
,
operator>()
Inherited from TAgnInstanceId
:
Date()
,
ExternalizeL()
,
InternalizeL()
,
IsNullInstanceId()
,
SetDate()
,
SetIdAndDate()
,
SetNullInstanceId()
,
operator!=()
,
operator==()
void SetStartTime(TAgnTime aTime);
Sets the start time of the current ID.
|
void SetEndTime(TAgnTime aTime);
Sets the end time of the current ID.
|
void SetStartDate(TAgnDate aDate);
Sets the start date of the current ID.
|
void SetEndDate(TAgnDate aDate);
Sets the end date of the current ID.
|
TTimeIntervalMinutes StartTime() const;
Gets the start time of the current ID. A panic occurs if the start time is NULL.
|
TTimeIntervalMinutes EndTime() const;
Gets the end time of the current ID. A panic occurs if the end time is NULL.
|
TTime StartDate() const;
Gets the start date of the current ID.
|
TTime EndDate() const;
Gets the end date of the current ID.
|
TBool HasNullStartTime() const;
Tests whether the current entry has a NULL start time.
|
TBool HasNullEndTime() const;
Tests whether the current entry has a NULL end time.
|