Antonio Villafana <[EMAIL PROTECTED]>@java.sun.com> on 11/16/99
02:53:42 PM

Please respond to "A mailing list for discussion about Sun Microsystem's
      Java Servlet API Technology." <[EMAIL PROTECTED]>

Sent by:  "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:

Subject:  Deprecation of java.util.Date methods



Hello Everyone,
Can anyone tell me what is new method for replacing  the following:

java.util.Date myDate = new  java.util.Date();
String myString = myDate.getHours()  + myDate.getMinutes() +
myDate.getSeconds();

I am using jdk1.2.2 . There is a warning that these  methods has been
deprecated. I was unable to find anything on this deprecation  at sun's
site.

Thanks,

*Antonio*


Try with -deprecation javac flag (javac -deprecation ...... )

Antonio Mancuso

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to