Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: vprop.h
Link against: versit.lib

Class TVersitDateTime

TVersitDateTime

Support

Supported from 5.0

Description

Versit date and time.

This class is used throughout versit to represent the date and time. It uses a TDateTime object to store the date/time value and records whether this value is machine-local, vCard-local, or universal time (UTC).

Defined in TVersitDateTime:
EIsCorrect, EIsMachineLocal, EIsUTC, EIsVCardLocal, TRelativeTime, TVersitDateTime(), iDateTime, iRelativeTime


Construction


TVersitDateTime()

TVersitDateTime(const TDateTime& aDateTime,TRelativeTime aRelativeTime);

Description

The C++ constructor is used to construct the versit date/time object with a date/time value and a specification of whether the time is local to the vCard or to the machine, or universal time.

Parameters

const TDateTime& aDateTime

The date/time value.

TRelativeTime aRelativeTime

Specifies whether the time value represents local or universal time.

[Top]


Enumerations


Enum TRelativeTime

TRelativeTime

Description

Time flags.

EIsUTC

Time is stored in UTC.

EIsVCardLocal

Time is local to the machine which originated a vCard.

EIsMachineLocal

Time is local to the machine on which the code is running.

EIsCorrect

Not currently used in versit.

[Top]


Member data


iDateTime

TDateTime iDateTime

Description

The date/time value.


iRelativeTime

TRelativeTime iRelativeTime

Description

Specifies whether the time value represents local or universal time.