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 void CContactFieldStorage_Reserved1 ( ) [private, virtual]

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [virtual]

Externalises the field data.

Parameters

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

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [virtual]

Internalises the field data.

Parameters

RReadStream & aStream Stream 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 &)

void RestoreL ( CStreamStore & aStore,
RReadStream & aStream
) [virtual]

Restores the field data.

Parameters

CStreamStore & aStore Reference to the store from which the object is to be restored.
RReadStream & aStream Reference to the stream which should be passed to InternalizeL().

SetTime(TTime)

IMPORT_C void SetTime ( TTime aTime )

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

Parameters

TTime aTime The field's new date/time value.

SetTime(TDateTime)

IMPORT_C void SetTime ( TDateTime aDateTime )

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

Parameters

TDateTime aDateTime The field's new date/time value.

StoreL(CStreamStore &)

TStreamId StoreL ( CStreamStore & aStore ) const [virtual]

Stores the field data.

Parameters

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

Time()

IMPORT_C TTime Time ( ) const

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

Member Data Documentation

TTime iTime

TTime iTime [private]