You are viewing a single comment's thread. Return to all comments →
Java Docs says that
The first month of the year in the Gregorian and Julian calendars is JANUARY which is 0.
So, we should subtract 1 from the given month value.
Seems like cookies are disabled on this browser, please enable them to open this website
Java Date and Time
You are viewing a single comment's thread. Return to all comments →
Java Docs says that
The first month of the year in the Gregorian and Julian calendars is JANUARY which is 0.
So, we should subtract 1 from the given month value.