changeset 8304:14a187dc4ffe

8024999: Instant.Parse typo in example Summary: javadoc only fix to correct example to use "." and "Z" Reviewed-by: sherman
author rriggs
date Fri, 04 Oct 2013 12:01:29 -0400
parents 79077f1641cc
children f9c701ba04e7
files src/share/classes/java/time/Instant.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/time/Instant.java	Sat Sep 14 22:46:49 2013 +0100
+++ b/src/share/classes/java/time/Instant.java	Fri Oct 04 12:01:29 2013 -0400
@@ -374,7 +374,7 @@
     //-----------------------------------------------------------------------
     /**
      * Obtains an instance of {@code Instant} from a text string such as
-     * {@code 2007-12-03T10:15:30:00}.
+     * {@code 2007-12-03T10:15:30.00Z}.
      * <p>
      * The string must represent a valid instant in UTC and is parsed using
      * {@link DateTimeFormatter#ISO_INSTANT}.