class CTzUserNames : public CBase |
The CTzUserNames class is used to encapsulate the names for a user-defined time zone.
When creating an instance of this class the client can specify the following names:
Long standard time name, for example "Mountain Standard Time"
Short standard time name, for example "MST"
Long daylight saving time name, for example "Mountain Daylight Time"
Short daylight saving time name, for example "MDT"
City name, for example "Shiprock"
Region name, for example "America"
The client can also read these names.
Public Member Functions | |
---|---|
~CTzUserNames() | |
IMPORT_C const TDesC & | CityName() |
IMPORT_C const TDesC & | DaylightSaveName() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C CTzUserNames * | NewL(const TDesC &, const TDesC &, const TDesC &, const TDesC &, const TDesC &, const TDesC &) |
IMPORT_C CTzUserNames * | NewL(RReadStream &) |
IMPORT_C CTzUserNames * | NewLC(const TDesC &, const TDesC &, const TDesC &, const TDesC &, const TDesC &, const TDesC &) |
IMPORT_C const TDesC & | RegionName() |
IMPORT_C const TDesC & | ShortDaylightSaveName() |
IMPORT_C const TDesC & | ShortStandardName() |
IMPORT_C TInt | SizeOfObject() |
IMPORT_C const TDesC & | StandardName() |
Private Member Functions | |
---|---|
CTzUserNames() | |
void | ConstructL(const TDesC &, const TDesC &, const TDesC &, const TDesC &, const TDesC &, const TDesC &) |
Private Attributes | |
---|---|
HBufC * | iCityName |
HBufC * | iDaylightName |
HBufC * | iRegionName |
HBufC * | iShortDaylightName |
HBufC * | iShortStandardName |
HBufC * | iStandardName |
void | ConstructL | ( | const TDesC & | aStandardName, |
const TDesC & | aShortStandardName, | |||
const TDesC & | aDayLightSaveName, | |||
const TDesC & | aShortDayLightSaveName, | |||
const TDesC & | aCityName, | |||
const TDesC & | aRegionName | |||
) | [private] |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
IMPORT_C CTzUserNames * | NewL | ( | const TDesC & | aStandardName, |
const TDesC & | aShortStandardName, | |||
const TDesC & | aDaylightSaveName, | |||
const TDesC & | aShortDaylightSaveName, | |||
const TDesC & | aCityName, | |||
const TDesC & | aRegionName | |||
) | [static] |
IMPORT_C CTzUserNames * | NewL | ( | RReadStream & | aStream | ) | [static] |
RReadStream & aStream |
IMPORT_C CTzUserNames * | NewLC | ( | const TDesC & | aStandardName, |
const TDesC & | aShortStandardName, | |||
const TDesC & | aDayLightSaveName, | |||
const TDesC & | aShortDaylightSaveName, | |||
const TDesC & | aCityName, | |||
const TDesC & | aRegionName | |||
) | [static] |