class TAgnCalendarTime |
The main time class for use within Calendar. This stores either a fixed or floating time - a fixed time is stored as UTC, a floating time is stored as local. The offset between UTC and local is cached and updated when necessary.
This class should be used as widely as possible throughout Calendar, eventually replacing the less useful TTime. TCalTime is an equivalent class to TAgnCalendarTime, but is exposed in the Calendar API.
Private Member Functions | |
---|---|
TTime | DateTimeL(MAgnCalendarTimeMode::TFormat) |
void | SetDateTimeL(const TTime &, TBool, MAgnCalendarTimeMode::TFormat) |
void | SetFloatingFlag(TBool) |
void | SetTzId(TUint16) |
void | StoreNewOffset(const TTime &) |
CAgnTlsProxy * | TimeZoneAccessor() |
TUint16 | TzId() |
Private Attributes | |
---|---|
TInt16 | iLocalOffsetInMinutes |
TTime | iTime |
CAgnTlsProxy * | iTimeZoneAccessor |
TUint16 | iTzId |
TInt | Compare | ( | const TAgnCalendarTime & | aLeft, |
const TAgnCalendarTime & | aRight | |||
) | [static] |
const TAgnCalendarTime & aLeft | |
const TAgnCalendarTime & aRight |
TBool | CompareTimeArrays | ( | const RArray< TAgnCalendarTime > * | aLeft, |
const RArray< TAgnCalendarTime > * | aRight | |||
) | [static] |
const RArray< TAgnCalendarTime > * aLeft | |
const RArray< TAgnCalendarTime > * aRight |
TTime | DateTimeL | ( | MAgnCalendarTimeMode::TFormat | aFormat | ) | const [private] |
MAgnCalendarTimeMode::TFormat aFormat |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
void | ExternalizeTimeArrayL | ( | RArray< TAgnCalendarTime > & | aArray, |
RWriteStream & | aStream | |||
) | [static] |
RArray< TAgnCalendarTime > & aArray | |
RWriteStream & aStream |
void | InsertInOrderL | ( | RArray< TAgnCalendarTime > & | aTimeArray, |
const TAgnCalendarTime & | aTimeToInsert | |||
) | [static] |
RArray< TAgnCalendarTime > & aTimeArray | |
const TAgnCalendarTime & aTimeToInsert |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
void | InternalizeTimeArrayL | ( | RArray< TAgnCalendarTime > & | aArray, |
RReadStream & | aStream | |||
) | [static] |
RArray< TAgnCalendarTime > & aArray | |
RReadStream & aStream |
void | SetDateTimeL | ( | const TTime & | aTime, |
TBool | aFloating, | |||
MAgnCalendarTimeMode::TFormat | aFormat = MAgnCalendarTimeMode::EUtc | |||
) | [private] |
const TTime & aTime | |
TBool aFloating | |
MAgnCalendarTimeMode::TFormat aFormat = MAgnCalendarTimeMode::EUtc |
IMPORT_C void | SetFloatingL | ( | const TTime & | aTime | ) |
const TTime & aTime |
void | StoreNewOffset | ( | const TTime & | aTime | ) | const [private] |
const TTime & aTime |
IMPORT_C TBool | operator!= | ( | const TAgnCalendarTime & | aTime | ) | const |
const TAgnCalendarTime & aTime |
IMPORT_C TBool | operator< | ( | const TAgnCalendarTime & | aTime | ) | const |
const TAgnCalendarTime & aTime |
IMPORT_C TBool | operator<= | ( | const TAgnCalendarTime & | aTime | ) | const |
const TAgnCalendarTime & aTime |
IMPORT_C TBool | operator== | ( | const TAgnCalendarTime & | aTime | ) | const |
const TAgnCalendarTime & aTime |
IMPORT_C TBool | operator> | ( | const TAgnCalendarTime & | aTime | ) | const |
const TAgnCalendarTime & aTime |
IMPORT_C TBool | operator>= | ( | const TAgnCalendarTime & | aTime | ) | const |
const TAgnCalendarTime & aTime |