Skip to content

Commit 219e1eb

Browse files
committedAug 5, 2024
8337712: Wrong javadoc in java.util.Date#toString(): "61" and right parenthesis
Reviewed-by: rgiulietti
1 parent 97afbd9 commit 219e1eb

File tree

1 file changed

+2
-2
lines changed
  • src/java.base/share/classes/java/util

1 file changed

+2
-2
lines changed
 

‎src/java.base/share/classes/java/util/Date.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1994, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1994, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -1012,7 +1012,7 @@ public int hashCode() {
10121012
* <li>{@code mm} is the minute within the hour ({@code 00} through
10131013
* {@code 59}), as two decimal digits.
10141014
* <li>{@code ss} is the second within the minute ({@code 00} through
1015-
* {@code 61}, as two decimal digits.
1015+
* {@code 61}), as two decimal digits.
10161016
* <li>{@code zzz} is the time zone (and may reflect daylight saving
10171017
* time). Standard time zone abbreviations include those
10181018
* recognized by the method {@code parse}. If time zone

0 commit comments

Comments
 (0)
Please sign in to comment.