The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

SimpleDateFormat

Posted by panand on February 01, 2001 at 2:07 AM

I have tried using SimpleDateFormat class to validate the date and also to check the format. But it does not validate certain invalid dates like 02/29/1997, format MM/dd/yyyy. It also gives an error for certain valid dates like 02/29/2000. What could be the problem?

Thanks in advance,
panand



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us