JDK-8038729 : MonthDay API typo "combination of a year and month" not "month and a day"
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.time
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2014-03-27
  • Updated: 2014-03-29
  • Resolved: 2014-03-29
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE PROBLEM :
The API page refers to "combination of a year and a month", when it should be "a month and a day".

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"MonthDay is an immutable date-time object that represents the combination of a month and day."
ACTUAL -
"MonthDay is an immutable date-time object that represents the combination of a year and month."

URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/api/java/time/MonthDay.html