summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-08-30 12:07:45 +0100
committerNeil Fuller <nfuller@google.com>2019-09-03 18:41:40 +0100
commit23a5b6c5031d8d21c60dc15e2664b35acdd91b49 (patch)
treebaa14ae247a90fe6765fe7c97e0f85f2105f8283 /annotations/generate_annotated_java_files.py
parent388b52223bb84fb3b09d4f1082b60e4888c3c0cb (diff)
Provide filtering for obsolete zone IDs
Android holds information about when a time zone stopped/will stop being relevant: There are numerous countries that have simplified their time zones over time. Zone IDs that differed in the past still exist in the data even if they have the same rules past a point in time. Android's "notUsedAfter" data indicates that point in time. This change will allow time zone detection in future to take into account the difference between countries that have settled on a single effective zone, and those where there are multiple zones that happen to share the same offset at a given time. The "single effective zone" case is a stronger signal than one where there are several zones that happen to agree at a specific time but differ in future. Bug: 139928367 Test: atest libcore.libcore.timezone.CountryTimeZonesTest Test: atest libcore.libcore.timezone.TimeZoneFinderTest Change-Id: I37ce23ed7c77334470964e1e770960c8e8a05c1a
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions