Obviously your algorithm in the isLeapYear method is wrong. Google for the correct algorithm.
Type: Posts; User: Junky
Obviously your algorithm in the isLeapYear method is wrong. Google for the correct algorithm.
Take a close look at your Date constructor. By the way giving your class the same name as a class in the Java API can only lead to confusion.