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 ......
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 ......