Tet Thach wrote:You're right. Not sure why you have to set the date to get the actual maximum. I would assume if you change the era, it should probably init the date to the start date of that era.
Just one reason why I detest the
Calendar interface.
You may find more intuitive stuff in the new Date/Time classes in version 8; or - if you can't upgrade yet - have a look at
Joda time.
Winston