diff options
author | Neil Fuller <nfuller@google.com> | 2018-01-19 13:17:36 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2018-01-19 13:28:15 +0000 |
commit | f7ee6839cfcebca8ba10ddd3d2ff87772786fe96 (patch) | |
tree | 38ffe6b77e6dd8012e3259ac12bf8e70e8c2fd37 /annotations/generate_annotated_java_files.py | |
parent | 87812445298b314a753f57e42dd167cd5d3fc389 (diff) |
Fix negative DST bug in ZoneInfo.getDSTSavings()
The ZoneInfo.getDSTSavings() method forces the DST
offset to be positive. Changes in IANA's 2018a/2018b
suggest the possibility of a negative DST. We have
no data currently that requires this, and it's likely
2018c will reverse the decision, but we can remove
the bug safely.
The change has been tested against 2018a and it returns
the same result from getDSTSavings() as before in all
cases *except* "Eire" and "Europe/Dublin", the one
case that changes in 2018a.
Test: CTS: run cts -m CtsLibcoreTestCases
Bug: 72057587
Change-Id: Ifa426d03328558a7899ffeaad2cd1b6abb19c552
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions