Neil Fuller | 7803149 | 2020-08-07 21:17:58 +0100 | [diff] [blame] | 1 | This tool generates the tzlookup.xml file from the countryzones.txt (proto |
| 2 | text) file. tzlookup.xml is used to associate zones with regions/countries. The |
| 3 | tool uses ICU4J and IANA data to synthesize some time zone metadata. |
| 4 | |
| 5 | Besides tzlookup.xml, the tool also generates a tzids.prototxt file |
| 6 | containing information about zone IDs, id links and "functionally identical" |
| 7 | zones[1] within each known country. These can be used to map time zone IDs to |
| 8 | Android's preferred set. This duplicates information from the tzlookup.xml, but |
| 9 | it is easier to use from host tools than Android's tzlookup.xml's format. |
| 10 | |
| 11 | [1] i.e. zones that differed in the past but were "folded in" to other zones |
| 12 | and are not distinct for future times according to IANA or ICU/CLDR. |