Location:
CNTFLDST.H
Link against: cntmodel.lib
class CContactDateField : public CContactFieldStorage;
Provides access to the date/time value stored in a contact item field.
An object of this class can be retrieved using CContactItemField::DateTimeStorage()
.
CBase
- Base class for all classes to be instantiated on the heap
CContactFieldStorage
- Abstract base class for the different types of contact field data storage
CContactDateField
- Provides access to the date/time value stored in a contact item field
Defined in CContactDateField
:
CContactFieldStorage_Reserved1()
, ExternalizeL()
, InternalizeL()
, IsFull()
, RestoreL()
, SetTime()
, SetTime()
, StoreL()
, Time()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
virtual TStreamId StoreL(CStreamStore &aStore) const;
Stores the field data.
|
|
virtual void RestoreL(CStreamStore &aStore, RReadStream &aStream);
Restores the field data.
|
IMPORT_C void SetTime(TTime aTime);
Sets the date/time stored in the field from a TTime
value.
|
IMPORT_C void SetTime(TDateTime aDateTime);
Sets the date/time stored in the field from a TDateTime
value.
|
IMPORT_C TTime Time() const;
Gets the date/time stored in the field as a TTime
value.
|
virtual void InternalizeL(RReadStream &aStream);
Internalises the field data.
|
virtual void ExternalizeL(RWriteStream &aStream) const;
Externalises the field data.
|
virtual TBool IsFull() const;
Tests whether the field storage contains data.
|
private: virtual IMPORT_C void CContactFieldStorage_Reserved1();