8024999: Instant.Parse typo in example

Javadoc only fix to correct example to use "." and "Z"

Reviewed-by: sherman
This commit is contained in:
Roger Riggs 2013-10-04 12:01:29 -04:00
parent c492e4ef1f
commit d18aae693d

View File

@ -374,7 +374,7 @@ public final class Instant
//-----------------------------------------------------------------------
/**
* 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}.