CContactDateField Class Reference

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().

Inherits from

Constructor & Destructor Documentation

CContactDateField()

CContactDateField()

Member Functions Documentation

CContactFieldStorage_Reserved1()

IMPORT_C voidCContactFieldStorage_Reserved1()[private, virtual]

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises the field data.

Parameters

RWriteStream & aStreamWrite stream to which the contents of the field should be externalised.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[virtual]

Internalises the field data.

Parameters

RReadStream & aStreamStream from which the the contents of the field should be internalised.

IsFull()

TBool IsFull()const [virtual]

Tests whether the field storage contains data.

RestoreL(CStreamStore &, RReadStream &)

voidRestoreL(CStreamStore &aStore,
RReadStream &aStream
)[virtual]

Restores the field data.

Parameters

CStreamStore & aStoreReference to the store from which the object is to be restored.
RReadStream & aStreamReference to the stream which should be passed to InternalizeL().

SetTime(TTime)

IMPORT_C voidSetTime(TTimeaTime)

Sets the date/time stored in the field from a TTime value.

Parameters

TTime aTimeThe field's new date/time value.

SetTime(TDateTime)

IMPORT_C voidSetTime(TDateTimeaDateTime)

Sets the date/time stored in the field from a TDateTime value.

Parameters

TDateTime aDateTimeThe field's new date/time value.

StoreL(CStreamStore &)

TStreamId StoreL(CStreamStore &aStore)const [virtual]

Stores the field data.

Parameters

CStreamStore & aStoreReference to the stream store to which the field data is written.

Time()

IMPORT_C TTimeTime()const

Gets the date/time stored in the field as a TTime value.

Member Data Documentation

TTime iTime

TTime iTime[private]