#include <app/MVPbkContactFieldDateTimeData.h>
class MVPbkContactFieldDateTimeData : public MVPbkContactFieldData |
Public Member Functions | |
---|---|
virtual | ~MVPbkContactFieldDateTimeData() |
IMPORT_C MVPbkContactFieldDateTimeData & | Cast(MVPbkContactFieldData &) |
IMPORT_C const MVPbkContactFieldDateTimeData & | Cast(const MVPbkContactFieldData &) |
virtual TAny * | ContactFieldDateTimeDataExtension(TUid) |
virtual TVPbkFieldStorageType | DataType() |
pure virtual TTime | DateTime() |
pure virtual void | SetDateTime(const TTime &) |
Virtual Phonebook date/time field data. This class is used to manipulate contact field data, which contains a date/time type of data.
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.
Parameter | Description |
---|---|
aFieldData | Data of the field. |
Returns: Casted inteface for the date/time field data.
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.
Parameter | Description |
---|---|
aFieldData | Data of the field. |
Returns: Casted inteface for the date/time field data.
TVPbkFieldStorageType | DataType | ( | ) | const [inline, virtual] |
Reimplemented from MVPbkContactFieldData::DataType()const
Returns the derived data type id.
Returns: Contact field storage type.
void | SetDateTime | ( | const TTime & | aTime | ) | [pure virtual] |
Sets the date/time data.
Parameter | Description |
---|---|
aTime | Date/time to be set. |