GeeCON Prague 2014*
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


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: 10426
    
    8

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!]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Strange behaviour of java.text.DateFormat