48fa06f34fe3098fd820b97d9d28c9f27f8591de |
|
17-Jun-2013 |
Elliott Hughes <enh@google.com> |
am f6a67139: Merge "Correct Date format for el_GR, sv_SE and tr_TR locales" * commit 'f6a671394ca3d269835d5f5b882b46f9539e9a96': Correct Date format for el_GR, sv_SE and tr_TR locales
|
5ad2451f9fcce650b018af4bb3eb3252606d9150 |
|
16-Jun-2013 |
howardb <android@howardb.com> |
Correct Date format for el_GR, sv_SE and tr_TR locales Amend DateFormat.getDateFormat to CLDR data from icu4c instead of locale specific resource entries which are incorrect for several locales. No CTS tests are added as they require changing the locale which is not currently possible. Bug: https://code.google.com/p/android/issues/detail?id=56385 Change-Id: Ibd11c7fd9b595e19a3e2bf508e1585aa50067e03 Signed-off-by: howardb <android@howardb.com>
/frameworks/base/core/java/android/text/format/DateFormat.java
|
c2639e58fa5724c06a1d910ad76aebed647b4ba2 |
|
30-Apr-2013 |
Elliott Hughes <enh@google.com> |
am 0bb4c701: Merge "Use ICU for getDateFormatOrder." * commit '0bb4c701bab0f69172417b7a511acb6bdfa052db': Use ICU for getDateFormatOrder.
|
edd6f9e688698da4f6ba9da5e56a5546f9162200 |
|
30-Apr-2013 |
Elliott Hughes <enh@google.com> |
Use ICU for getDateFormatOrder. Bug: 7207103 Change-Id: I680bb727cb74cd4b050f237f036d9e696201fc0b
/frameworks/base/core/java/android/text/format/DateFormat.java
|
031b581af2a14e9f957e511548b3da41152b2634 |
|
02-Apr-2013 |
Elliott Hughes <enh@google.com> |
Add DateFormat.getBestDateTimePattern. Bug: 8283323 Change-Id: Id8d94456b93555d799229b7dd88fcbcf5c6bf7ff
/frameworks/base/core/java/android/text/format/DateFormat.java
|
f7c01e5a8a4e7e3032dd03a3705f6894312e9b5f |
|
19-Mar-2013 |
Elliott Hughes <enh@google.com> |
am eda35cb7: am a8974d3f: Merge "Clean up (some of) our many clocks to use H instead of k." * commit 'eda35cb7c5781a32b038f1ef76b8e50f26f9bfaf': Clean up (some of) our many clocks to use H instead of k.
|
c3e513e51caad56a30186d9e20a814dcc53e72ef |
|
19-Mar-2013 |
Elliott Hughes <enh@google.com> |
am c5c6d416: am 6317315e: Merge "Deliberately break DateFormat.format\'s formatting of \'k\' for compatibility." * commit 'c5c6d4167b66c79652c5208a2dfe091a8c735e6d': Deliberately break DateFormat.format's formatting of 'k' for compatibility.
|
cdafd37f3148dfc6f44f2e5de8b31adb6bf9e476 |
|
19-Mar-2013 |
Elliott Hughes <enh@google.com> |
Clean up (some of) our many clocks to use H instead of k. Bug: 8359981 Change-Id: I3c0c38c2bf5adc4b5bdc11c3d10cf41dd8fb6462
/frameworks/base/core/java/android/text/format/DateFormat.java
|
fc55c2ba49957bb696b98d290964dc36f4827190 |
|
18-Mar-2013 |
Elliott Hughes <enh@google.com> |
Deliberately break DateFormat.format's formatting of 'k' for compatibility. Bug: 8359981 Change-Id: I44ed816c644f94783c77952d544c5444b966868b
/frameworks/base/core/java/android/text/format/DateFormat.java
|
7b517a5c796f4c1120533c62686f7912ebfb2ef8 |
|
11-Mar-2013 |
Elliott Hughes <enh@google.com> |
am a45bafc2: am c9e0cd2a: Merge "Fix DateFormat k and h, and implement K and H for the first time." * commit 'a45bafc2f025d2ef513f3e3dcac162ba6a95d575': Fix DateFormat k and h, and implement K and H for the first time.
|
7a89f62877a03d249d9e7d0562058b973d747c49 |
|
11-Mar-2013 |
Elliott Hughes <enh@google.com> |
Fix DateFormat k and h, and implement K and H for the first time. Bug: 8359981 Change-Id: I52ef937a77e9e28f2719c2ee6f59e4b74514f0b2
/frameworks/base/core/java/android/text/format/DateFormat.java
|
d6875e3334899be84b98d0fd32efff1f1b5775da |
|
09-Mar-2013 |
Elliott Hughes <enh@google.com> |
am 2cb314eb: am e0cd3c19: Merge "Improve DateFormat.format." * commit '2cb314ebc7bb6495a94f577dfb57f9e6c56033ef': Improve DateFormat.format.
|
8326b9a429b63b680aa9af116c670ce674744d80 |
|
09-Mar-2013 |
Elliott Hughes <enh@google.com> |
Improve DateFormat.format. Add support for the 'c' format character, required in many non-English locales. Reimplement 'c' and 'E', and 'L' and 'M', so they correctly interpret 5-count pattern characters. Replace the old incorrect class documentation with a pointer to the well-maintained libcore equivalent and the Unicode UTS to which these two implementations are supposed to conform. Deprecate the useless constants for pattern characters. No one sane is going to write MONTH + MONTH + MONTH + MONTH instead of "MMMM". Correct the documentation for getLongDateFormat and getMediumDateFormat. Also fix DateUtils.getStandaloneMonthString for LENGTH_SHORTEST. Tests are in https://android-review.googlesource.com/53291. Change-Id: I4dda8b18070f05ccdc11c1f0a9381a9d233db4e8
/frameworks/base/core/java/android/text/format/DateFormat.java
|
5bd48b528e6477c2c3d318cb71cef861392b1b8a |
|
15-Jan-2013 |
Elliott Hughes <enh@google.com> |
am 67ae48f3: am fc91d730: am cbfece82: Merge "Switch over to getting 12-/24-hour time formats from CLDR via icu4c." * commit '67ae48f32545791fe0a0574f02bfe714e106074b': Switch over to getting 12-/24-hour time formats from CLDR via icu4c.
|
4caba61ea0433099fc94e61221d02542c34e9e3a |
|
15-Jan-2013 |
Elliott Hughes <enh@google.com> |
Switch over to getting 12-/24-hour time formats from CLDR via icu4c. I removed the duplication in DateTimeView rather than fix that copy of the code. Bug: 7924970 Change-Id: I60c205d06ad3b50fd2f5d5fc432e4eb186f9c0e7
/frameworks/base/core/java/android/text/format/DateFormat.java
|
06c5f8a768bcd4f7b6441f7525bd5c639399fc76 |
|
04-Dec-2012 |
Jeff Sharkey <jsharkey@android.com> |
Examine widget hierarchy to find clocks. When switching to a widget, examine its hierarchy to determine if it contains TextClocks that show hour and minute for the local timezone. If so, hide the status bar clock. Doesn't fix closing walls. Bug: 7667638 Change-Id: I1e2c40345c9e5eb0193efd70838c7ca9f779190b
/frameworks/base/core/java/android/text/format/DateFormat.java
|
3d1728c03a0cd1aaed6bc81c97de27d62c771a6e |
|
01-Nov-2012 |
Romain Guy <romainguy@google.com> |
A new clock widget to create lock screen appwidgets This new widget replaces DigitalClock. It listens to all the correct system events and offer the ability to customize the formatting patterns in 12-hour and 24-hour modes. It also supports fixed time zones to create world clocks. One more step towards becoming ClockOS! Change-Id: I677e5dfca8cd8c8d1f8c49e54d7507f4d1885bf4
/frameworks/base/core/java/android/text/format/DateFormat.java
|
34de3bc309fd9077cc1aa1e1af82652670fdb9df |
|
15-Sep-2012 |
Elliott Hughes <enh@google.com> |
Fix date formatting for fa locales. This adds support for standalone months (L versus M) and localized digits. Bug: 6811327 Change-Id: I4687a4c67605c31b155c0b8d44b3da6ed378fc82
/frameworks/base/core/java/android/text/format/DateFormat.java
|
03a8017d0fe3b55b69c4328aa0d27bd96a2f1360 |
|
24-Jul-2009 |
Eric Fischer <enf@google.com> |
Make the DatePicker respect the date format setting if the date is numeric. In some locales, there are no abbreviated month names; the abbreviated date formats are essentially numeric. If the user is in such a locale, have the DatePicker respect the date format setting so that the order of the fields will match other numeric-only dates. In locales that have abbreviated month names, continue to use the order that is normal in spelled-out dates. And update the order in updateDate() so that the new order is reflected if you change the order setting and immediately go to change the date without leaving and returning to the Date & Time settings in between. At the same time, change DateFormat.getDateFormatOrder() back to working the way it did in cupcake (prioritizing the date order preference over the locale), even though the DatePicker no longer calls the method. Bug 1805085
/frameworks/base/core/java/android/text/format/DateFormat.java
|
328769582328192f8f361dcb56f2ad67ad00ae2c |
|
12-Jun-2009 |
Eric Fischer <enf@google.com> |
Make the date format preference work again. It is only used for numeric dates -- spelled-out dates have such a complex variety of formats that they can only be meaningfully formatted from locale strings. In addition, the preference is left null when initializing, on the assumption that the locale will still specify a more useful numeric format than we can guess as part of a build-wide configuration. But if the user has specified a format, the date will be formatted in the order they asked for, with locale-appropriate punctuation substituted in.
/frameworks/base/core/java/android/text/format/DateFormat.java
|
af0e7a7394bf1e2596c46f81c3b0302a56daab96 |
|
11-Jun-2009 |
Eric Fischer <enf@google.com> |
Hook the 12- or 24-hour time format checkbox back up. The format strings are newly generated from CLDR. The code is once again the same as in cupcake: do the natural thing for the locale if the user has never specified, but follow the checkbox if the user has ever set it.
/frameworks/base/core/java/android/text/format/DateFormat.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/DateFormat.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/DateFormat.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/DateFormat.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/text/format/DateFormat.java
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/text/format/DateFormat.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/DateFormat.java
|