The error is here:

     private final  Date SYNC_DATE = new GregorianCalendar(20060501114500).getTime()

That may plainly look like a date and time (ordered in the logical international format): but it's not!   If you read the java docs for GregorianCalendar, the month must be specified zero-based: i.e. 0=January, etc... So I needed to put 4 for May.

Who was the brainiac who came up with that!!??  What ever happened to "self documenting code"?

OK, who just called out "RTFM"? Who was it... I heard you! Want a clip around the ears smarty pants?

back to software