Be Aware - 2
Notes:
The java.sql.Date year parameter is defined as "the year less 1900" so 99 is interpreted as 1999. The month number is an offset 0 to 11 so 1 means February, not January. Of course, February 1999 only has 28 days, not 31, but an overflowing day number is interpreted as counting into the next month. Therefore, java.sql.Date ( 99, 1, 31 ) results in March 3, 1999. This is weird behaviour, no question about it.