MVPbkContactFieldDateTimeData Class Reference

#include <app/MVPbkContactFieldDateTimeData.h>

class MVPbkContactFieldDateTimeData : public MVPbkContactFieldData

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

~MVPbkContactFieldDateTimeData ( )

~MVPbkContactFieldDateTimeData()[inline, virtual]

Destructor.

Member Function 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.

ParameterDescription
aFieldDataData of the field.

Returns: Casted inteface for the date/time field data.

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.

ParameterDescription
aFieldDataData of the field.

Returns: Casted inteface for the date/time field data.

ContactFieldDateTimeDataExtension ( TUid )

TAny *ContactFieldDateTimeDataExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Returns: Extension point or NULL.

DataType ( )

TVPbkFieldStorageType DataType()const [inline, virtual]

Returns the derived data type id.

Returns: Contact field storage type.

DateTime ( )

TTime DateTime()const [pure virtual]

Returns the date/time data.

Returns: Date/time data.

SetDateTime ( const TTime & )

voidSetDateTime(const TTime &aTime)[pure virtual]

Sets the date/time data.

ParameterDescription
aTimeDate/time to be set.