summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2018-01-18 10:26:13 +0000
committer android-build-merger <android-build-merger@google.com> 2018-01-18 10:26:13 +0000
commitb51c638a6cac36021e8ea9f3c1aad3ef0f97abf7 (patch)
treeb33c49b118d129f39d6324a637f53f72ec72a575
parentf07319a6dff874a1b7747afc5f2d2b846dbf3205 (diff)
parentb3c2efc6156cb86ae1f8958ee89a8ac404b190df (diff)
Merge "Javadoc fixes to Time"
am: b3c2efc615 Change-Id: I9793670f518d15fc42caa01a519c33e451998a77
-rw-r--r--core/java/android/text/format/Time.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/text/format/Time.java b/core/java/android/text/format/Time.java
index bbd9c9c0bac0..562ae7ada90a 100644
--- a/core/java/android/text/format/Time.java
+++ b/core/java/android/text/format/Time.java
@@ -358,7 +358,7 @@ public class Time {
}
/**
- * Return the current time in YYYYMMDDTHHMMSS<tz> format
+ * Return the current time in YYYYMMDDTHHMMSS&lt;tz&gt; format
*/
@Override
public String toString() {
@@ -738,6 +738,7 @@ public class Time {
* <p>
* You should also use <tt>toMillis(false)</tt> if you want
* to read back the same milliseconds that you set with {@link #set(long)}
+ * or {@link #set(Time)} or after parsing a date string.
*
* <p>
* This method can return {@code -1} when the date / time fields have been
@@ -745,8 +746,6 @@ public class Time {
* For example, when daylight savings transitions cause an hour to be
* skipped: times within that hour will return {@code -1} if isDst =
* {@code -1}.
- *
- * or {@link #set(Time)} or after parsing a date string.
*/
public long toMillis(boolean ignoreDst) {
calculator.copyFieldsFromTime(this);