CContactDateField Class Reference

#include <app/cntfldst.h>

class CContactDateField : public CContactFieldStorage

Inherits from

Detailed Description

Provides access to the date/time value stored in a contact item field.

An object of this class can be retrieved using CContactItemField::DateTimeStorage().

Constructor & Destructor Documentation

CContactDateField ( )

CContactDateField()

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises the field data.

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

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)[virtual]

Internalises the field data.

ParameterDescription
aStreamStream from which the the contents of the field should be internalised.

IsFull ( )

TBool IsFull()const [virtual]

Tests whether the field storage contains data.

Returns: True if the field storage contains data, false if not.

RestoreL ( CStreamStore &, RReadStream & )

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

Restores the field data.

ParameterDescription
aStoreReference to the store from which the object is to be restored.
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.

ParameterDescription
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.

ParameterDescription
aDateTimeThe field's new date/time value.

StoreL ( CStreamStore & )

TStreamId StoreL(CStreamStore &aStore)const [virtual]

Stores the field data.

ParameterDescription
aStoreReference to the stream store to which the field data is written.

Returns: The ID of the stream store.

Time ( )

IMPORT_C TTimeTime()const

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

Returns: The field's date/time value.