On Mon, 25 Jan 1999, Ryan Sutter wrote:

> This method allows incorrect dates like 13/9/98 without complaining.  My
Looks good here.

<whinge>
The classes java.util.GregorianCalendar java.util.Date java.util.Calendar
java.sql.Date are spastic. Most of the methods in java.util.Date ar
deprecated. Between them, these classes do all kinds of esoteric things
hardly anyone wants to do and completely omit something basic such as
returning the day of the week. Sure they take invlaid dates: I was trying
to initialise java.util.Date from substrings which I'd miscalculated. Quite
happily accepted a month of 0 (it adjusted the year to suit).

I'd like to be able to find the day of the week (no market prices today?
It's Sunday? That's okay then!), the difference between two dates (how old
will Mum be on Jan 1 2001?), to store and manipulate dates in and before
the last century.
</whinge>

-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.

Reply via email to