MVPbkContactFieldDateTimeData Class Reference

class MVPbkContactFieldDateTimeData : public MVPbkContactFieldData

Virtual Phonebook date/time field data. This class is used to manipulate contact field data, which contains a date/time type of data.

Inherits from

Constructor & Destructor Documentation

~MVPbkContactFieldDateTimeData()

~MVPbkContactFieldDateTimeData()[inline, virtual]

Destructor.

Member Functions Documentation

Cast(MVPbkContactFieldData &)

IMPORT_C MVPbkContactFieldDateTimeData &Cast(MVPbkContactFieldData &aFieldData)[static]

Casts MVPbkContactFieldData to this interface.

aFieldData.DataType() == EVPbkFieldStorageTypeDateTime VPbkError::Panic(VPbkError::EFieldDataTypeMismatch) is raised if the precondition does not hold.

Parameters

MVPbkContactFieldData & aFieldDataData of the field.

Cast(const MVPbkContactFieldData &)

IMPORT_C const MVPbkContactFieldDateTimeData &Cast(const MVPbkContactFieldData &aFieldData)[static]

Casts const MVPbkContactFieldData to this interface.

aFieldData.DataType() == EVPbkFieldStorageTypeDateTime VPbkError::Panic(VPbkError::EFieldDataTypeMismatch) is raised if the precondition does not hold.

Parameters

const MVPbkContactFieldData & aFieldDataData of the field.

ContactFieldDateTimeDataExtension(TUid)

TAny *ContactFieldDateTimeDataExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

DataType()

TVPbkFieldStorageType DataType()const [inline, virtual]

Returns the derived data type id.

DateTime()

TTime DateTime()const [pure virtual]

Returns the date/time data.

SetDateTime(const TTime &)

voidSetDateTime(const TTime &aTime)[pure virtual]

Sets the date/time data.

Parameters

const TTime & aTimeDate/time to be set.