History log of /frameworks/base/core/java/android/text/format/Time.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4037d51b132a85dcfe37a95f9d2d91ad23d162fd 12-Oct-2016 Aurimas Liutikas <aurimas@google.com> Fix imports in android.text package.

This change also removes trailing whitespaces.

Test: code still compiles
Change-Id: I65f79a34288d01616808fa9cd6732ae4ef0f1377
/frameworks/base/core/java/android/text/format/Time.java
682c24e22811d4ee17ae1cd61bf255c3f7e722b7 12-Apr-2016 Trevor Johns <trevorjohns@google.com> Resolve merge conflicts of a5060ee to nyc-dev

This undoes the automerger skip which occured in
commit e740c84dc32180214a7fd157105d6c18d30408ee and
replays it as a standard (NOT -s ours) merge.

Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
/frameworks/base/core/java/android/text/format/Time.java
71fbb81b14958b80fe55738607740c6630e4e9da 30-Nov-2015 Neil Fuller <nfuller@google.com> Fix @code escapes

The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
/frameworks/base/core/java/android/text/format/Time.java
5c955ee5415e9bf4562ecb5a66f73cd8c98729c2 27-Mar-2015 Elliott Hughes <enh@google.com> Document that Time doesn't support pseudo-zones.

Bug: 19110194
Change-Id: I653b7dc46d5f15da70435f6bddd49042f4d03b54
/frameworks/base/core/java/android/text/format/Time.java
a021e922184ee16fc019e29c066719daa793dd2b 24-Oct-2014 Neil Fuller <nfuller@google.com> resolved conflicts for merge of 12260ad7 to lmp-mr1-dev-plus-aosp

Change-Id: Ie2222794208475216941289cf062e05ca9c75e0f
bbf8871e1c7ef762b3f9505cca924568c48e8be5 23-Oct-2014 Neil Fuller <nfuller@google.com> Deprecating FloatMath and Time

Bug: https://code.google.com/p/android/issues/detail?id=36199
Bug: https://code.google.com/p/android/issues/detail?id=37653
Bug: https://code.google.com/p/android/issues/detail?id=42750
Bug: https://code.google.com/p/android/issues/detail?id=61137
Bug: https://code.google.com/p/android/issues/detail?id=74754
Bug: https://code.google.com/p/android/issues/detail?id=76386
Bug: https://code.google.com/p/android/issues/detail?id=76439
Bug: https://code.google.com/p/android/issues/detail?id=77836
Change-Id: Ic9b57d8a575f93b2258a5481df0ed6b3a952f636
/frameworks/base/core/java/android/text/format/Time.java
7079f2003c36cfb3f186c067675a7f564d78f1d6 30-Sep-2014 Neil Fuller <nfuller@google.com> Fix Time docs to document various error cases

Bug: https://code.google.com/p/android/issues/detail?id=76386
Change-Id: Ibb71405b70453d5abaf45426ec4e36261b6695cf
/frameworks/base/core/java/android/text/format/Time.java
3b852e3489e995600fce19dfdbf3a5d769374d74 25-Jun-2014 Neil Fuller <nfuller@google.com> Rewriting android.text.format.Time without the native _tz functions

(cherry picked from commit d7f0849b8c053ccc6abf0dc7d5bc07da502782a4)
Bug: 15765976

Change-Id: I00f72bd1043ef20f22d25559206b2f741334ba9c
/frameworks/base/core/java/android/text/format/Time.java
d7f0849b8c053ccc6abf0dc7d5bc07da502782a4 25-Jun-2014 Neil Fuller <nfuller@google.com> Rewriting android.text.format.Time without the native _tz functions

Bug: 15765976
Change-Id: I666b72ecf9da8a9dcfb97cc503006b415909a558
/frameworks/base/core/java/android/text/format/Time.java
688342f98c4dd95846de02a9559758ec671f1a45 17-Dec-2013 Scott Main <smain@google.com> fix typos
bug: 11693951
bug: 12118617

Change-Id: I7a3ab4c6d7bc124ff9ed8779700e77c87409569d
/frameworks/base/core/java/android/text/format/Time.java
6323b6c61775992e400c2d38981332583107c32b 19-Sep-2012 Elliott Hughes <enh@google.com> Use localized digits for Time formatting.

This fixes the digits in places like Settings' data usage page
and Calendar's drop-down, for languages such as Arabic.

Bug: 6811327
Change-Id: I2dafcc342e3279937735697b3748b47fdfc8e691
/frameworks/base/core/java/android/text/format/Time.java
315a7c0335fb54beced23b1703c10563ce02ee82 18-Sep-2012 Roozbeh Pournader <roozbeh@google.com> Use proper digits in formatElapsedTime and format3339

Use getZeroDigit() instead of a hard-coded '0' for formatting times using
formatElapsedTime, so locales with different digits like Arabic and Persian
could display the elapsed time properly. This is visible in Settings' list
of running apps.

Also changed android.text.format.Time's format3339 method to always use ASCII
digits, irrespective of the locale.

Change-Id: I731c96c21b3712ec347d9526e4ec3fe884dec276
/frameworks/base/core/java/android/text/format/Time.java
08153ee01e6aa67061f628bc3fed66c6400dfd1c 07-Aug-2012 Elliott Hughes <enh@google.com> Switch DateUtils and Time over to using the CLDR for all week and month names.

(cherry-pick of 99c406e42ba154584070ca7ec100e8be7ff8a800.)

Conflicts:

core/res/res/values-fa/donottranslate-cldr.xml
core/res/res/values/public.xml

Bug: 6811501
Change-Id: I2ad9608ae34804e02c6b0271197e96611df12b0a
/frameworks/base/core/java/android/text/format/Time.java
4af85345e798c37ab026e93a1ae250d8bca4fc40 26-Jul-2012 Elliott Hughes <enh@google.com> Use ICU's CLDR data for "AM" and "PM" strings.

This brings DateUtils and Time in sync with bionic, icu, WebKit,
DateFormatSymbols, Formatter, and SimpleDateFormat. And specifically
means that DateUtils now knows how to say "AM" and "PM" in Japanese.

Bug: 6719054

(cherry-pick of b12b61a88a029730b1f2b006ff914c9c719f3942.)

Conflicts:

core/res/res/values/public.xml

Change-Id: Ic1a811621a0ec338abd77458ac2046577f87c1e4
/frameworks/base/core/java/android/text/format/Time.java
5ef49427b6e735ba17d96184ac2bcbcafb434d82 26-Jul-2012 Elliott Hughes <enh@google.com> Fix Time.parse and Time.parse3339 crashing bugs. DO NOT MERGE

Two reported by users, the other spotted by inspection.

Bug: http://code.google.com/p/android/issues/detail?id=16002
Bug: http://code.google.com/p/android/issues/detail?id=22225
Change-Id: I86fe022fda4af68e5a6fb9dc5dd2abdb75e9d966

This was committed to master, cherry-picking to jb-mr1-dev
/frameworks/base/core/java/android/text/format/Time.java
11afa8a466be7fd0bb486b36612d656a09f88f46 26-Jan-2012 Alon Albert <aalbert@google.com> Throw NPE if s is null

Bug: 5926510
Change-Id: I3d0a38d31695a8b103b3d153d90d83474f56990e
/frameworks/base/core/java/android/text/format/Time.java
31e04656e77a881960daa7a6974e8f805d9cef43 29-Sep-2011 Scott Main <smain@google.com> docs: add some more info to Time javadocs

Change-Id: I3c5ca668acda734f8a0da0ffbbc1bfa77ed72c2a
/frameworks/base/core/java/android/text/format/Time.java
467cabe879cb58df96f6a84879f5fb226e049aeb 26-Jul-2011 Kenny Root <kroot@google.com> Throw NullPointerException on args to Time#compare

Check for null on arguments to Time#compare(Time, Time) before passing
it down to JNI code.

Bug: 5073949
Change-Id: I077e9d5194a89206d1e51fc89a72c8a72e29f8f1
/frameworks/base/core/java/android/text/format/Time.java
50f34d14f6dd3411fdbdb6a7b8b285c2b8fdbf5c 04-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding DatePciker widget based on the Calednar team code. Updated DatePciker and DatePickerDialog as the second part of the Time/Date pciker refresh feature.

Change-Id: Id32c614bcd799463ca33bf08fb7d5cf44f8326a6
/frameworks/base/core/java/android/text/format/Time.java
0df10e9b4e7719777ff9a389959c5c5deeef0eae 06-Jul-2010 Christian Mehlmauer <FireFart@gmail.com> Documentation Bug (Issue 9557)

There was an issue in the Time.toMillis example.
Also removed some whitespaces so the file
applies to the Android coding Styleguide

Change-Id: Ic1383e506b30ff181c6e14a12f675b52e5c8ccbc
/frameworks/base/core/java/android/text/format/Time.java
5bd644caf73e76750feef1a82b8817d32f5367fc 13-May-2009 Eric Fischer <enf@google.com> Start using CLDR for some date-and-time strings and formats.

Use java.text.DateFormat where possible, since that is already using
the CLDR data for the things it supports. Remove an unused date format
object from DatePickerDialog.

Add a new method for getting the standalone month names from applications,
although @hidden for now because it is an API change.

Pass the standalone month names down to native code in Time so that
tztime's strftime() can use them.

And then the bulk of the change: replace all the names for the months
and the days of the week, and AM and PM, and yesterday, today, and tomorrow,
with strings from CLDR. And replace several of the date format strings
with ones derived from CLDR, but reformatted to use strftime() style
instead of SimpleDateFormat style.

All these resource changes go into new donottranslate-cldr.xml files
and are removed from strings.xml so that they aren't part of the
normal translation process and the translators don't have to bother
with them (and risk messing them up).
/frameworks/base/core/java/android/text/format/Time.java
670bf11fcf9e0a73007b9b814069aa575a872096 27-Apr-2009 Ken Shirriff <kens@google.com> Document exception from parse3339
/frameworks/base/core/java/android/text/format/Time.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/text/format/Time.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/text/format/Time.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/text/format/Time.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/text/format/Time.java