diff options
author | Neil Fuller <nfuller@google.com> | 2018-11-16 15:54:30 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2018-11-16 20:43:54 +0000 |
commit | e784ef2418565126a8bec4eaf00ecb35bd47e1d2 (patch) | |
tree | c4d5ebf32927ac999db11f59be470ed443fb710f /luni/src/module/java/module-info.java | |
parent | d260231f0cb1148623b3e8b387d28269b8e08d27 (diff) |
Introduce TzDataSetVersion class
Introduce the TzDataSetVersion class to handle time
zone data and format versioning. It is a near-exact
copy of com.android.timezone.distro.DistroVersion
except that constants have been exposed as methods
to avoid inlining (important since the code using
this new class will not be updated when libcore code
is updated with new version requirements in future
versions of Android).
libcore.util is becoming increasingly filled with
time zone related classes so the new class is being
added in libcore.timezone.
Another easy-to-move class, TimeZoneDataFiles is being
moved there. Other time zone data-related classes
will be moved in follow-up changes.
Bug: 119026403
Test: CTS: run cts-dev -m CtsLibcoreTestCases
Change-Id: I57feae567e28950588062e5c67a954ed4f02462e
Diffstat (limited to 'luni/src/module/java/module-info.java')
-rw-r--r-- | luni/src/module/java/module-info.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/luni/src/module/java/module-info.java b/luni/src/module/java/module-info.java index cafcf9b9ad..8a290d9b14 100644 --- a/luni/src/module/java/module-info.java +++ b/luni/src/module/java/module-info.java @@ -118,6 +118,7 @@ module java.base { exports libcore.net.event; exports libcore.net.http; exports libcore.reflect; + exports libcore.timezone; exports libcore.util; exports org.json; } |