summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2018-02-26 20:01:27 +0000
committerNeil Fuller <nfuller@google.com>2018-02-27 15:17:55 +0000
commitef272fc927550b8cb8660548c030a23a91c6819e (patch)
tree27a7b7ed08e1a40c9a4aa8d2df972ff3cee0eafc /annotations/generate_annotated_java_files.py
parentc52e3e0778a1e236797abb165ba6bdf6e5058111 (diff)
Add support for time zone mapping metadata
Adding support for the picker="(y|n)" attribute of the <id> element. Previously the id element contained just a String so it was treated as a String everywhere. Many of the changes are to introduce a TimeZoneMapping class instead or to preserve the APIs that don't currently require the new metadata. This change also removes the CTS TimeZoneFinderTest.consistencyTest which checks that aspects of tzlookup.xml match aspects of the IANA zone.tab data. Although this is currently true, the tzlookup.xml generation tools now enforce it and the assertion that the two data sets should be consistent is probably not something that OEMs should be held to. Bug: 72144448 Test: CTS: run cts -m CtsLibcoreTestCases Change-Id: Ia50196ff8d0c60acc287d2d79240935dc0c54a4a
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions