commit | 2b2f34bba3c2be7e2506ce6b1f040949da350cf9 | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Apr 29 16:47:20 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu May 01 09:16:19 2014 -0700 |
tree | 00535998a7ecee04a6a12184f7ced43626f4516c | |
parent | 82bc27beee938b5d84d352ef832a3a1f17d444b6 [diff] |
Rewrite DateFormatter to use timezone passed in from config Allows us to get rid of the ugly builder interface, which is nice. The implementation is also simplified by storing the ThreadLocals in the Format enum, since we were previously just storing a mapping of enum to cached DateFormat anyway. Change-Id: I59e4a64e426a05ea822b736a1770c54b8174f4ae