From 0e1c0e11e41c85487349fcb719d2ab1d1823534e Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Thu, 28 May 2015 18:19:02 +0100 Subject: [PATCH] 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 Change-Id: If4c6b3a13f61bd0cb64c82fc4c96d053130ae4c8 --- core/java/android/text/format/DateUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/text/format/DateUtils.java b/core/java/android/text/format/DateUtils.java index ac98e8a67cc28..14ebec7340e10 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'. *

* 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'. *

* 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". *

* Can use {@link #FORMAT_ABBREV_RELATIVE} flag to use abbreviated relative * times, like "42 mins ago".