TCalTime Class Reference

class TCalTime

Represents a date/time, as used in the Calendar API.

This stores a single TTime, which may be set in UTC or local or floating local time, and can be retrieved in either UTC or system local time.

There are references to null time throughout the Interim API - this means Time::NullTTime().

Public Member Functions
TCalTime()
IMPORT_C TTimeMaxTime()
IMPORT_C TTimeMinTime()
IMPORT_C voidSetTimeLocalFloatingL(const TTime &)
IMPORT_C voidSetTimeLocalL(const TTime &)
IMPORT_C voidSetTimeUtcL(const TTime &)
IMPORT_C TTimeTimeLocalL()
IMPORT_C TTimeModeTimeMode()
IMPORT_C TTimeTimeUtcL()
Public Member Enumerations
enumTTimeMode { EFloating, EFixedUtc, EFixedTimeZone }
Private Attributes
TInt8 iReserved1
TInt16 iReserved2
TTime iTime
TUint8 iTimeMode

Constructor & Destructor Documentation

TCalTime()

IMPORT_CTCalTime()

Member Functions Documentation

MaxTime()

IMPORT_C TTimeMaxTime()[static]

MinTime()

IMPORT_C TTimeMinTime()[static]

SetTimeLocalFloatingL(const TTime &)

IMPORT_C voidSetTimeLocalFloatingL(const TTime &aLocalTime)

Parameters

const TTime & aLocalTime

SetTimeLocalL(const TTime &)

IMPORT_C voidSetTimeLocalL(const TTime &aLocalTime)

Parameters

const TTime & aLocalTime

SetTimeUtcL(const TTime &)

IMPORT_C voidSetTimeUtcL(const TTime &aUtcTime)

Parameters

const TTime & aUtcTime

TimeLocalL()

IMPORT_C TTimeTimeLocalL()const

TimeMode()

IMPORT_C TTimeModeTimeMode()const

TimeUtcL()

IMPORT_C TTimeTimeUtcL()const

Member Enumerations Documentation

Enum TTimeMode

The time mode for a calendar time

Enumerators

EFloating

Floating time.

EFixedUtc

Fixed time in UTC format.

EFixedTimeZone

Fixed time in local time with time zone reference format.

Member Data Documentation

TInt8 iReserved1

TInt8 iReserved1[private]

TInt16 iReserved2

TInt16 iReserved2[private]

TTime iTime

TTime iTime[private]

TUint8 iTimeMode

TUint8 iTimeMode[private]