- 3
How to get daysofmonth of a year in java?
When particular year is give it has to retrieve lenght of each month i.e., days
1 Odpowiedź
+ 3
Nikolay Baka rules for leap years (29 days in february) is quite more complex than just 'divisible by 4':
must be divisible by 4 except for end-of-century years, which must be divisible by 400 (2000 is a leap year but not 1900) ;P