An SQA
Engineer submitted a
bug last week here at work, because when he typed the value 1/1/10000 into a
datemasked Java
text field, Java happily accepted it as a
valid date. When we discussed this at the weekly bug
review meeting, it was
rejected. The reason? Java accepts this date as
January 1st, 10,000
A.D. Java will also accept dates in the years 100,000 A.D. and 1,000,000 A.D., but will return an
error message for the year 10,000,000 A.D.
Apparently Sun thinks that Java will be around for at least a million more years, but they've drawn the line at ten million years.