CTzId Class Reference
class CTzId : public CBase
|
Encapsulates a time zone identifier.
The identifier may be either a name or a number.
Constructor & Destructor Documentation
CTzId(TUint)
CTzId
|
(
|
TUint
|
aNumericId
|
)
|
[private]
|
Member Functions Documentation
CloneL()
IMPORT_C
CTzId
*
|
CloneL
|
(
|
)
|
const
|
This should not be used. For internal use only.
Replicates a
CTzId
.
-
leave
-
KErrNoMemory or some other system error code.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ExternalizeL(RWriteStream &)
This should not be used. For internal use only.
Time
zone ID data externaliser.
Parameters
RWriteStream
& aStream
|
A stream that will contain the serialised time zone ID.
|
InternalizeL(RReadStream &)
This should not be used. For internal use only.
Serialised
CTzId
data internaliser.
Parameters
RReadStream
& aStream
|
a stream containing the serialised time zone Id
|
IsUserTzId()
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.
IsUserTzId(TUint)
IMPORT_C
TBool
|
IsUserTzId
|
(
|
TUint
|
aTzId
|
)
|
[static]
|
Determines if the given numeric time zone identifier value belongs to the range of values used to identify user-defined time zones.
Parameters
TUint
aTzId
|
Numeric time zone identifier value.
|
NewL(TUint)
IMPORT_C
CTzId
*
|
NewL
|
(
|
TUint
|
aNumericId
|
)
|
[static]
|
Time
zone ID factory method.
-
panic
-
TzServer 8 aNumericId must not be zero.
Parameters
TUint
aNumericId
|
A numeric reference ID, generated by the time zone compiler.
|
NewL(const TDesC8 &)
IMPORT_C
CTzId
*
|
NewL
|
(
|
const
TDesC8
&
|
aNameIdentity
|
)
|
[static]
|
Time
zone ID factory method.
Parameters
const
TDesC8
& aNameIdentity
|
A name recognised by the time zone database.
|
NewL(RReadStream &)
This should not be used. For internal use only.
Time
zone ID factory method.
-
leave
-
KErrNoMemory or some other system error code
Parameters
RReadStream
& aStream
|
a stream containing the serialised time zone Id
|
SetId(TUint)
IMPORT_C void
|
SetId
|
(
|
TUint
|
aNumericId
|
)
|
|
This should not be used. For internal use only.
Sets the numeric time zone ID.
Parameters
TUint
aNumericId
|
The new numeric ID, generated by the time zone compiler.
|
SetIdL(const TDesC8 &)
IMPORT_C void
|
SetIdL
|
(
|
const
TDesC8
&
|
aNameIdentity
|
)
|
|
This should not be used. For internal use only.
Sets the the time zone's name.
Parameters
const
TDesC8
& aNameIdentity
|
string TZID as used in the Olson's TZ Database
|
SetIdL(TUint, const TDesC8 &)
void
|
SetIdL
|
(
|
TUint
|
aNumRefId,
|
|
const
TDesC8
&
|
aZoneIdentity
|
|
)
|
|
TimeZoneNameID()
IMPORT_C const
TDesC8
&
|
TimeZoneNameID
|
(
|
)
|
const
|
TimeZoneNumericID()
IMPORT_C
TUint
|
TimeZoneNumericID
|
(
|
)
|
const
|
operator!=(const CTzId &)
TBool
|
operator!=
|
(
|
const
CTzId
&
|
aTZId
|
)
|
const [inline]
|
Parameters
const
CTzId
& aTZId
|
The time zone ID to compare with this one.
|
operator==(const CTzId &)
IMPORT_C
TBool
|
operator==
|
(
|
const
CTzId
&
|
aTZId
|
)
|
const
|
Parameters
const
CTzId
& aTZId
|
The ID of another time zone.
|
Member Data Documentation
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.