Geeks With Blogs

The Life and Times of a Dev Yes, we're really that weird September 2006 Entries
Ugh--more Java
Something as simple as Date parsing in Java is a nightmare. Suppose the following: users can pass in dates, and I may not know what format the dates are in. For example, I may get MM/dd/yyyy or M/d/yyyy or MM/dd/yyyy hh:mm:ss or whatever. In Java, there is no easy way to parse all of those formats. They say, “Use the SimpleDateFormatter”, but the simple date formatter throws an exception when you try to parse a date such as 06/01/2006 and says it's an invalid date. So if you create a ......

Posted On Wednesday, September 20, 2006 11:15 AM

Ugh--I hate Java.
I'm a .net (c#) programmer, through and through, but work needed someone to port an API that I had recently written in C# to Java, so guess who got the job! So for the last 3 days, I've been fighting an issue with Java and Eclipse 3.2 and my own code. I've been getting the dreaded NoClassDefFound exception, and been unable, completely unable, to debug eclipse. Basically, when I attempted to instantiate a particular class, the NoClassDefFound exception was thrown, even though other classes in the ......

Posted On Tuesday, September 19, 2006 8:10 AM

Copyright © Robert May | Powered by: