Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

Strange behaviour of java.text.DateFormat

 
Chaitanya Brahma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic