Your understanding about static and not static is right, but the error has
nothing to do with it. The error you mention can only be debugged if you give us
the method implementation code. But from my experience, without looking at the
code, I assume that problem is because you set the date as 30/02/2002, in
American Locale "30" would be treated as month which is illegal!
Got the point, change the date as 02/30/2002 for checking, if it works then
re-write your code.