提交 49428ea1 编写于 作者: R rriggs

8024999: Instant.Parse typo in example

Summary: javadoc only fix to correct example to use "." and "Z"
Reviewed-by: sherman
上级 abb36135
...@@ -374,7 +374,7 @@ public final class Instant ...@@ -374,7 +374,7 @@ public final class Instant
//----------------------------------------------------------------------- //-----------------------------------------------------------------------
/** /**
* Obtains an instance of {@code Instant} from a text string such as * 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> * <p>
* The string must represent a valid instant in UTC and is parsed using * The string must represent a valid instant in UTC and is parsed using
* {@link DateTimeFormatter#ISO_INSTANT}. * {@link DateTimeFormatter#ISO_INSTANT}.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册