Files
rk35xx-android14/system/timezone/input_tools/android/tzlookup_generator/README.android
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

13 lines
749 B
Plaintext

This tool generates the tzlookup.xml file from the countryzones.txt (proto
text) file. tzlookup.xml is used to associate zones with regions/countries. The
tool uses ICU4J and IANA data to synthesize some time zone metadata.
Besides tzlookup.xml, the tool also generates a tzids.prototxt file
containing information about zone IDs, id links and "functionally identical"
zones[1] within each known country. These can be used to map time zone IDs to
Android's preferred set. This duplicates information from the tzlookup.xml, but
it is easier to use from host tools than Android's tzlookup.xml's format.
[1] i.e. zones that differed in the past but were "folded in" to other zones
and are not distinct for future times according to IANA or ICU/CLDR.