#include <mw/tzlocalizationdatatypes.h>
class TTzLocalizedId |
Public Member Functions | |
---|---|
TTzLocalizedId(const TUint16, const TUint) | |
TUint | ResourceId() |
TUint16 | TimeZoneId() |
The resource structure LOCALIZED_TIMEZONE (defined in TimeZoneLocalization.rh) is used to represent a time zone item in a resource file. One of the members of this structure is WORD time_zone_id which stores the id of the time zone.
This class stores a time zone id (iTzId) and its associated resource id (iResourceId). This facilitates fast finding of resources in the resource file. For internal use only.
For instance for a time zone defined as follow in the resource file, iTzId would be 2728 and iResourceId would be r_tz_europe_tirane (more precisely the resource id assigned to r_tz_europe_tirane by the resource compiler).
RESOURCE LOCALIZED_TIMEZONE r_tz_europe_tirane { time_zone_id = 2728; standard_name = 2728_standard_name; daylight_name = 2728_daylight_name; short_standard_name = 2728_short_standard_name; short_daylight_name = 2728_short_daylight_name; cities = { TIMEZONE_CITY { city_group_id = 5; city_name = 2728_tirane_name; } }; }