diff options
author | Neil Fuller <nfuller@google.com> | 2015-05-28 18:19:02 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2015-06-01 13:02:18 +0100 |
commit | a5e389ddd214c41c8de47bdbf71e3a3eacd7e5fb (patch) | |
tree | 63f7851b0fbdaf68819f26e56423624d03d8bc9d | |
parent | 16144ac3789f6dbe36a7011cf23305f072a7bfcb (diff) | |
download | frameworks_base-a5e389ddd214c41c8de47bdbf71e3a3eacd7e5fb.zip frameworks_base-a5e389ddd214c41c8de47bdbf71e3a3eacd7e5fb.tar.gz frameworks_base-a5e389ddd214c41c8de47bdbf71e3a3eacd7e5fb.tar.bz2 |
Fix javadocs based on recent case consistency change
Commit a40d2447b6f516116135ee7f126579771ba98a2c made the
case consistently "as for the beginning of a sentence".
This updates the docs to reflect that. Previously the
result depended on the string returned (e.g. "Tomorrow"
was capitalized in English) and the casing varied
within and between locales.
Bug: 20247811
(cherry-picked from commit 0e1c0e11e41c85487349fcb719d2ab1d1823534e)
Change-Id: I7b48958725b32b13bee00347585472f8073e7761
-rw-r--r-- | core/java/android/text/format/DateUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/text/format/DateUtils.java b/core/java/android/text/format/DateUtils.java index ac98e8a..14ebec7 100644 --- a/core/java/android/text/format/DateUtils.java +++ b/core/java/android/text/format/DateUtils.java @@ -258,7 +258,7 @@ public class DateUtils * Returns a string describing 'time' as a time relative to 'now'. * <p> * Time spans in the past are formatted like "42 minutes ago". - * Time spans in the future are formatted like "in 42 minutes". + * Time spans in the future are formatted like "In 42 minutes". * * @param time the time to describe, in milliseconds * @param now the current time in milliseconds @@ -275,7 +275,7 @@ public class DateUtils * Returns a string describing 'time' as a time relative to 'now'. * <p> * Time spans in the past are formatted like "42 minutes ago". Time spans in - * the future are formatted like "in 42 minutes". + * the future are formatted like "In 42 minutes". * <p> * Can use {@link #FORMAT_ABBREV_RELATIVE} flag to use abbreviated relative * times, like "42 mins ago". |