Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: VPROP.H
Link against: versit.lib

Class CParserPropertyValueDate

class CParserPropertyValueDate : public CParserTimePropertyValue;

Description

A date property value parser.

The date value is contained in a TVersitDateTime object.

The UID for a date property value is KVersitPropertyDateUid.

Derivation

Members

Defined in CParserPropertyValueDate:
CParserPropertyValueDate(), ConvertAllDateTimesToUTCL(), ConvertAllUTCDateTimesToMachineLocalL(), ExternalizeL(), Value(), ~CParserPropertyValueDate()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CParserPropertyValue:
Append(), EncodeL(), FoldAndWriteValueToStreamL(), FoldEncodeAndWriteValueToStreamL(), IsAsciiCharacterSetSufficient(), PlugIn(), SetPlugIn(), Uid()

Inherited from CParserTimePropertyValue:
ConvertDateTime(), EncodeTimePeriodL(), EncodeVersitDateTimeL(), SupportsInterface()


Construction and destruction


CParserPropertyValueDate()

IMPORT_C CParserPropertyValueDate(TVersitDateTime *aValue);

Description

Constructs a date property value parser with a TVersitDateTime value.

Sets the property value's UID to KVersitPropertyDateUid.

Parameters

TVersitDateTime *aValue

Specifies the date and information about the date. The object takes ownership of the pointer.


~CParserPropertyValueDate()

IMPORT_C ~CParserPropertyValueDate();

Description

Frees all resources owned by the object, prior to its destruction.

[Top]


Member functions


Value()

inline TVersitDateTime *Value() const;

Description

Gets a pointer to the date property value.

Return value

TVersitDateTime *

Pointer to the date property value.


ConvertAllDateTimesToUTCL()

virtual IMPORT_C void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds &,const CVersitDaylight *);

Description

This function is inherited from the base class CParserTimePropertyValue.

It has an empty implementation because this class represents a date not a time value.

Parameters

const TTimeIntervalSeconds &

const CVersitDaylight *


ConvertAllUTCDateTimesToMachineLocalL()

virtual IMPORT_C void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds &);

Description

This function is inherited from the base class CParserTimePropertyValue.

It has an empty implementation because this class represents a date not a time value.

Parameters

const TTimeIntervalSeconds &


ExternalizeL()

virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt);

Description

Externalises the property value into aStream.

Parameters

RWriteStream &aStream

Stream to which the value should be externalised.

const Versit::TEncodingAndCharset &aEncodingCharset

Specifies the character set and encoding information. This information is not used by this function

TInt