Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: cntfldst.h
Link against: cntmodel.lib

Class CContactDateField

CContactDateField

Support

Supported from 5.0

Description

Sets and gets the date/time value stored in a contact item field. An object of this class can be retrieved using CContactItemField::DateTimeStorage().

Derivation

CBaseBase class for all classes to be instantiated on the heap
CContactDateFieldSets and gets the date/time value stored in a contact item field
CContactFieldStorageAbstract base class for the different types of contact field data storage

Defined in CContactDateField:
SetTime(), Time()

Inherited from CBase:
operator new()

Inherited from CContactFieldStorage:
ExternalizeL(), InternalizeL(), IsFull(), RestoreL(), StoreL()


Set / get time


SetTime()

void SetTime(TTime atime);

Description

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

Parameters

TTime atime

The field's new date/time value.


SetTime()

void SetTime(TDateTime aDateTime);

Description

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

Parameters

TDateTime aDateTime

The field's new date/time value.


Time()

TTime Time() const;

Description

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

Return value

TTime

The field's date/time value.