MAgnCalendarTimeMode Class Reference

class MAgnCalendarTimeMode

Interface class representing a time mode. A time mode can be floating, fixed to UTC, or fixed to a particular time zone (but that is not supported yet). This class provides functions to convert between UTC and the relevant local time.

Public Member Functions
voidFromL(TFormat, TTime &)
TTimeMode TimeMode()
voidToL(TFormat, TTime &)
Public Member Enumerations
enumTFormat { ELocal, EUtc, EFixedLocal }
enumTTimeMode { EFloating, EFixedUtc, EFixedTimeZone }

Member Functions Documentation

FromL(TFormat, TTime &)

voidFromL(TFormataFormat,
TTime &aTime
)const [pure virtual]

Parameters

TFormat aFormat
TTime & aTime

TimeMode()

TTimeMode TimeMode()const [pure virtual]

ToL(TFormat, TTime &)

voidToL(TFormataFormat,
TTime &aTime
)const [pure virtual]

Parameters

TFormat aFormat
TTime & aTime

Member Enumerations Documentation

Enum TFormat

Enumerators

ELocal
EUtc
EFixedLocal

Enum TTimeMode

The time mode for a calendar entry

Enumerators

EFloating

Floating time.

EFixedUtc

Fixed time in UTC format. When a fixed time entry is repeating, its repeat rule use EFixedTimeZone mode to store the corresponding time zone where the start and end time are stored in EFixedUtc.

EFixedTimeZone

Timezone rule time mode. Currently, this is used only for repeating entry where the start and end time are stored in EFixedUtc more