And those methods are reproduced in Calendar.  Reading "Java in a Nutshell,"
2d addition 2 years ago, Flannigan pointed out that the Date class was
poorly conceived and worse implemented.

Mark

-----Original Message-----
From: James Black [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 30, 2003 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: java.util.Calendar - Why?


Mark Galbreath wrote:

>Come on, guys!  Why the issue - every constructor except the default is 
>deprecated; every method except toString() is deprecated.  The JavaDoc 
>tells you to use Calendar instead.  Are you that obtuse?
>
  setTime() and getTime() are also not deprecated. It appears that all 
this should be used for is for these two methods, other than that Date 
is deprecated.

-- 
"We do not lose our identity in our relations with others; in part, at
least, we achieve our identity by those relations." Tony Blair, 1993





Reply via email to