-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8, 9
A DESCRIPTION OF THE PROBLEM :
I think there is a typo in the Javadoc of the parse method of java.time.Duration: a "a" should be used before "long" and not a "an".
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The number of days, hours and minutes must parse to a long.
ACTUAL -
The number of days, hours and minutes must parse to an long.
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-
I think there is a typo in the Javadoc of the parse method of java.time.Duration: a "a" should be used before "long" and not a "an".
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The number of days, hours and minutes must parse to a long.
ACTUAL -
The number of days, hours and minutes must parse to an long.
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-
- duplicates
-
JDK-8054978 java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
-
- Resolved
-