blob: fbb4ac880a19e0162540a585e722b99e8f64b029 [file] [log] [blame]
Neil Fuller78031492020-08-07 21:17:58 +01001This tool generates the tzlookup.xml file from the countryzones.txt (proto
2text) file. tzlookup.xml is used to associate zones with regions/countries. The
3tool uses ICU4J and IANA data to synthesize some time zone metadata.
4
5Besides tzlookup.xml, the tool also generates a tzids.prototxt file
6containing information about zone IDs, id links and "functionally identical"
7zones[1] within each known country. These can be used to map time zone IDs to
8Android's preferred set. This duplicates information from the tzlookup.xml, but
9it 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
12and are not distinct for future times according to IANA or ICU/CLDR.