commit | 787eb9996c0f9b32ae247ba072c048dceaa0a453 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Apr 10 12:52:32 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Apr 13 08:59:57 2015 -0700 |
tree | 1eb36ddf57ebab72e217d3a6e81d4ecf1a91f2f6 | |
parent | f77b10a0a84a5261ede493798e673e41b9ce50e7 [diff] |
Libcore: Refactor TimeZone for compile-time initialization Introduce a private inner class for custom-time-zone parsing. This moves the Pattern field which cannot be compile-time initialized. As a result, TimeZone, SimpleTimeZone & ZoneInfo can be initialized in the boot image. Bug: 19542228 Change-Id: I6fc8cb65975e14351a6bfc1ddfac175368efd1eb