#include <tzid.h>
Link against: tzclient.lib
class CTzId : public CBase |
Public Member Functions | |
---|---|
~CTzId() | |
IMPORT_C CTzId * | CloneL() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C TBool | IsUserTzId() |
IMPORT_C TBool | IsUserTzId(TUint) |
IMPORT_C CTzId * | NewL(TUint) |
IMPORT_C CTzId * | NewL(const TDesC8 &) |
IMPORT_C CTzId * | NewL(RReadStream &) |
IMPORT_C void | SetId(TUint) |
IMPORT_C void | SetIdL(const TDesC8 &) |
void | SetIdL(TUint, const TDesC8 &) |
IMPORT_C const TDesC8 & | TimeZoneNameID() |
IMPORT_C TUint | TimeZoneNumericID() |
TBool | operator!=(const CTzId &) |
IMPORT_C TBool | operator==(const CTzId &) |
Encapsulates a time zone identifier.
The identifier may be either a name or a number.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Parameters | |
---|---|
aStream | A stream that will contain the serialised time zone ID. |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
Parameters | |
---|---|
aStream | a stream containing the serialised time zone Id |
IMPORT_C TBool | IsUserTzId | ( | ) | const |
Determines if this time zone identifier has a numeric identifier value that belongs to the range of values used to identify user-defined time zones.
Determines if the given numeric time zone identifier value belongs to the range of values used to identify user-defined time zones.
Parameters | |
---|---|
aTzId | Numeric time zone identifier value. |
IMPORT_C CTzId * | NewL | ( | RReadStream & | aStream | ) | [static] |
Parameters | |
---|---|
aStream | a stream containing the serialised time zone Id |
Leave Codes | |
---|---|
KErrNoMemory | or some other system error code |
IMPORT_C void | SetId | ( | TUint | aNumericId | ) |
This should not be used. For internal use only.
Sets the numeric time zone ID.
Parameters | |
---|---|
aNumericId | The new numeric ID, generated by the time zone compiler. |
IMPORT_C void | SetIdL | ( | const TDesC8 & | aNameIdentity | ) |
This should not be used. For internal use only.
Sets the the time zone's name.
Parameters | |
---|---|
aNameIdentity | string TZID as used in the Olson's TZ Database |
IMPORT_C const TDesC8 & | TimeZoneNameID | ( | ) | const |
IMPORT_C TUint | TimeZoneNumericID | ( | ) | const |