The tech is basically java,and my role is supporting a couple of applications based on spring,hibernate.
So I am trying to keep track of the issues I faced,and how I encountered.This would maintain a history
and reference to those who would want to tackle them.
I also intend to write on any new learnings,or new tech from the point I understood them.
Wish me luck to start off this one..!
Today is April 4,and am in Melbourne,and from 2 am today,daylight saving is no longer there.
Talking of this,reminds me of an exception,I had seen a few months back :-
java.lang.IllegalArgumentException: Cannot parse "2009-10-04T02:59:45":
Illegal instant due to time zone offset transition (Australia/Sydney)
at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:336)
This was continuously thrown for some articles whose published date was
2009-10-04T02:59:45.Initially I was wondering why it didnt quite like the date.
On a close look,I realised that it is the date that starts the daylight saving for
NSW/VIC
"Daylight saving started in New South Wales on Sunday 4 October 2009 at 2:00 am,
when clocks were put forward one hour."
joda.time.format.DateTimeParserBucket.computeMillis was failing because it
could not find a time instance of 02:59:45 as there is no such an instant in that day.
This one was quite amusing,and this date was manually modified in the
generator to avoid this exception again.
Hope this one helped.
Will keep further posted on "me and my exceptions":)