提交 6f9d139a 编写于 作者: N naoto

8184314: Javadoc for Offsettime has "." where it should be ":" prior to seconds

Reviewed-by: rriggs
上级 71b8c144
/* /*
* Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -100,7 +100,7 @@ import java.util.Objects; ...@@ -100,7 +100,7 @@ import java.util.Objects;
* {@code OffsetDateTime} is an immutable representation of a date-time with an offset. * {@code OffsetDateTime} is an immutable representation of a date-time with an offset.
* This class stores all date and time fields, to a precision of nanoseconds, * This class stores all date and time fields, to a precision of nanoseconds,
* as well as the offset from UTC/Greenwich. For example, the value * as well as the offset from UTC/Greenwich. For example, the value
* "2nd October 2007 at 13:45.30.123456789 +02:00" can be stored in an {@code OffsetDateTime}. * "2nd October 2007 at 13:45:30.123456789 +02:00" can be stored in an {@code OffsetDateTime}.
* <p> * <p>
* {@code OffsetDateTime}, {@link java.time.ZonedDateTime} and {@link java.time.Instant} all store an instant * {@code OffsetDateTime}, {@link java.time.ZonedDateTime} and {@link java.time.Instant} all store an instant
* on the time-line to nanosecond precision. * on the time-line to nanosecond precision.
......
/* /*
* Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -100,7 +100,7 @@ import java.util.Objects; ...@@ -100,7 +100,7 @@ import java.util.Objects;
* viewed as hour-minute-second-offset. * viewed as hour-minute-second-offset.
* This class stores all time fields, to a precision of nanoseconds, * This class stores all time fields, to a precision of nanoseconds,
* as well as a zone offset. * as well as a zone offset.
* For example, the value "13:45.30.123456789+02:00" can be stored * For example, the value "13:45:30.123456789+02:00" can be stored
* in an {@code OffsetTime}. * in an {@code OffsetTime}.
* *
* <p> * <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册