4cf8a3914aa365fefc6c231c48075ecc5a096a65 |
|
23-Nov-2011 |
Owen Lin <owenlin@google.com> |
am 85c38af1: am 8bb56180: Merge "Fix 5654631. It forgot to consider the year in formatDateRange." into ics-mr1 * commit '85c38af1d47e288775052cd188e3f014fa40e8a2': Fix 5654631. It forgot to consider the year in formatDateRange.
|
b193e35ed131769e6c98b2752635065489198aeb |
|
22-Nov-2011 |
Owen Lin <owenlin@google.com> |
Fix 5654631. It forgot to consider the year in formatDateRange. Change-Id: I494e3ecc7a2e7c418ed61930ffd7311338c11783 fix: 5654631
/frameworks/base/core/java/android/text/format/DateUtils.java
|
99a64f4b1d2519b71558fdc62721686445865b60 |
|
11-Nov-2011 |
Jesse Wilson <jessewilson@google.com> |
Document our potentially suprising behavior on date ranges ending at midnight. Bug: http://code.google.com/p/android/issues/detail?id=18512 Change-Id: I968ca1cfcef79273ee856624a640d56b038b96be
/frameworks/base/core/java/android/text/format/DateUtils.java
|
25d8b05fb77e8ee755aacd27c1c2d3b237537b7a |
|
22-Feb-2011 |
Jozef BABJAK <jozef.babjak@gmail.com> |
Ensuring thread-safe usage of DateFormat. DateFormat is inherently unsafe for multithreaded use. This patch adds proper synchronization. The 'sLock' is re-used. To avoid two consecutive lockings, locked version of initFormatStrings() method is created and used where appropriate, i.e. in original method AND in added synchronized block. Change-Id: Id3c34613623e743e703aadb2342aa788679dda8a
/frameworks/base/core/java/android/text/format/DateUtils.java
|
c4f628a1ba359926cf53ed7652d9abba6ea29123 |
|
08-Sep-2010 |
Erik <roboerik@android.com> |
am c0b4f6d3: Merge "Adds a time zone parameter to formatDateRange" into gingerbread Merge commit 'c0b4f6d30d962d75125628317b5f5ea622531dfe' into gingerbread-plus-aosp * commit 'c0b4f6d30d962d75125628317b5f5ea622531dfe': Adds a time zone parameter to formatDateRange
|
577ec9eb3a661de96a2cbe9ec918eda082fb7659 |
|
02-Sep-2010 |
Erik <roboerik@android.com> |
Adds a time zone parameter to formatDateRange For a critical feature request in Calendar we need the ability to format a date range in a time zone other than the local tz. This adds a new method signature to formatDateRange to allow for a tz to be specified and maintains the old behavior if the parameter is not used. Also deprecates the FORMAT_UTC flag. Change-Id: I16b3e939760ec86c954b51a318d01b7bbf86acc9
/frameworks/base/core/java/android/text/format/DateUtils.java
|
f1f33c4eb2ded794c74285d8a036073ae5419f25 |
|
18-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: If7ae0c5629d1b3c540cacfa517425c2e6b5822d1
|
6a84af0949b341593b4b25ed9bb365bd60ff1254 |
|
29-Mar-2010 |
David Sobreira Marques <dpsmarques@gmail.com> |
Fixing counting the number of days in call log screen. Counting the number of days in call log screen when a call was made/received within a week is not correct. Issue 3132: Call Log Reporting Wrong Change-Id: I99c3cb40267b4b5938ccc4225993b7aac7e2d018 Signed-off-by: David Sobreira Marques <dpsmarques@gmail.com>
/frameworks/base/core/java/android/text/format/DateUtils.java
|
a53bbe4033f1e9fc4c371d51ba1ef58588f867eb |
|
01-Mar-2010 |
Ken Shirriff <kens@google.com> |
Remove DateException and obsolete DateUtils functions. These functions are deprecated and no longer used.
/frameworks/base/core/java/android/text/format/DateUtils.java
|
becfc9de9e18ef216c2b537cd2829f1d2d55404f |
|
30-Jun-2009 |
Michael Chan <mchan@android.com> |
Added a Formatter parameter to DateUtils.formatDateRange DateUtils.formatDateRange is using String.format which isn't efficient for formatting large number of strings. I have added the Formatter parameter which allows the caller to reuse the formatter of subsequent calls for faster performance.
/frameworks/base/core/java/android/text/format/DateUtils.java
|
5669ce59aad19f17e1e89913e7483fb93b8aa0cf |
|
18-Jun-2009 |
Eric Fischer <enf@google.com> |
Work around the Czech lack of abbreviated month names. Make the date formats that want abbreviated month names use either the full name or a numeric format.
/frameworks/base/core/java/android/text/format/DateUtils.java
|
84c863d9af1270a2ccd2ccd2b8c1a753826dfe6d |
|
10-Jun-2009 |
Eric Fischer <enf@google.com> |
Fix some 12- vs 24-hour problems in the FormatDateRange strings. Use a resource instead of a hardcoded string for the 24-hour format since it is not exactly the same in every locale. Make sure the 12-hour format is actually for a 12-hour clock, even in locales where this is not a normal thing to do. In the cap_ampm version, do not have it try to capitalize "am" and "pm" if these are non-ASCII strings, since strftime() doesn't know about Unicode and will mess it up. Add a comment so that people don't think the YEAR_IN_MILLIS constant is actually the length of any real year.
/frameworks/base/core/java/android/text/format/DateUtils.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/DateUtils.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/DateUtils.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/DateUtils.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/text/format/DateUtils.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/text/format/DateUtils.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/text/format/DateUtils.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/DateUtils.java
|