OpenJDK / portola / portola
changeset 20521:0a672997e442
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 | 0952771e3e25 |
children | 9a239bba214f |
files | jdk/src/share/classes/java/time/Instant.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/java/time/Instant.java Sat Sep 14 22:46:49 2013 +0100 +++ b/jdk/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}.