TAgnCalendarTime Class Reference
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.
Constructor & Destructor Documentation
TAgnCalendarTime()
IMPORT_C | TAgnCalendarTime | ( | ) | |
Member Functions Documentation
Compare(const TAgnCalendarTime &, const TAgnCalendarTime &)
CompareTimeArrays(const RArray< TAgnCalendarTime > *, const RArray< TAgnCalendarTime > *)
DateTimeL(MAgnCalendarTimeMode::TFormat)
ExternalizeL(RWriteStream &)
ExternalizeTimeArrayL(RArray< TAgnCalendarTime > &, RWriteStream &)
InsertInOrderL(RArray< TAgnCalendarTime > &, const TAgnCalendarTime &)
InternalizeL(RReadStream &)
InternalizeTimeArrayL(RArray< TAgnCalendarTime > &, RReadStream &)
IsSet()
IMPORT_C TBool | IsSet | ( | ) | const |
IsValidTime()
IMPORT_C TBool | IsValidTime | ( | ) | const |
LocalL()
IMPORT_C TTime | LocalL | ( | ) | const |
SetDateTimeL(const TTime &, TBool, MAgnCalendarTimeMode::TFormat)
Set the time and time mode of the AgnCalendarTime
Parameters
const TTime & aTime | The time to be stored, can be UTC if aFormat is EUtc, or local if aFormat is ELocal or EFixedLocal |
TBool aFloating | |
MAgnCalendarTimeMode::TFormat aFormat = MAgnCalendarTimeMode::EUtc | The time format of aTime |
SetFloatingFlag(TBool)
void | SetFloatingFlag | ( | TBool | aFloating | ) | const [private] |
SetFloatingL(const TTime &)
IMPORT_C void | SetFloatingL | ( | const TTime & | aTime | ) | |
SetLocalL(const TTime &)
IMPORT_C void | SetLocalL | ( | const TTime & | aTime | ) | |
SetTzId(TUint16)
void | SetTzId | ( | TUint16 | aTzId | ) | const [private] |
SetUtcL(const TTime &)
IMPORT_C void | SetUtcL | ( | const TTime & | aTime | ) | |
StoreNewOffset(const TTime &)
void | StoreNewOffset | ( | const TTime & | aTime | ) | const [private] |
TimeZoneAccessor()
CAgnTlsProxy * | TimeZoneAccessor | ( | ) | const [private] |
UtcL()
IMPORT_C TTime | UtcL | ( | ) | const |
operator!=(const TAgnCalendarTime &)
operator<(const TAgnCalendarTime &)
operator<=(const TAgnCalendarTime &)
operator==(const TAgnCalendarTime &)
operator>(const TAgnCalendarTime &)
operator>=(const TAgnCalendarTime &)
Member Data Documentation
TInt16
iLocalOffsetInMinutes
TInt16
| iLocalOffsetInMinutes | [private] |
CAgnTlsProxy * iTimeZoneAccessor
CAgnTlsProxy * | iTimeZoneAccessor | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.