File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Strange behaviour of java.text.DateFormat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Strange behaviour of java.text.DateFormat

Chaitanya Brahma
Greenhorn

Joined: Jun 05, 2009
Posts: 3
Hi Ranchers,

I have come across a real strange behavior of the class java.text.DateFormat. The code listed below executes properly on one Eclipse environment but gives "java.text.ParseException: Unparsable date" on another one!

Can anyone please throw some light as to what could be the possible issue here?

Thanks a ton in advance!

The code in question is as listed below -



Exception I get :

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Please do not post the same topic across multiple forums. Let is continue here http://www.coderanch.com/t/450219/Java-General-intermediate/java/Strange-behavior-java-text-DateFormat
Closing.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
jQuery in Action, 2nd edition
 
subject: Strange behaviour of java.text.DateFormat
 
Similar Threads
Problems with custom xsd:dateTime conversion
Validation check for the day using util.
Calendar class should not do this. I think.
Strange behavior of java.text.DateFormat
Need to change Calendar to dd/mm/yyyy format