TimeZone Rule for Australia/Melbourne
807589Nov 14 2008 — edited Nov 14 2008Daylight savings rules for Australia/Melbourne Time zone in jdk are not same as OS rules.
TimeZone zone = TimeZone.getTimeZone("Australia/Melbourne")
System.out.println(zone);
Output:
sun.util.calendar.ZoneInfo[id="Australia/Melbourne",offset=36000000,dstSavings=3600000,useDaylight=true,transitions=142,
lastRule=java.util.SimpleTimeZone
[id=Australia/Melbourne,offset=36000000,dstSavings=3600000,
useDaylight=true,
startYear=0,startMode=2,startMonth=9,startDay=-1,startDayOfWeek=1,startTime=7200000,startTimeMode=1,
endMode=2,endMonth=2,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=1]]
From the above output for Australia/Melbourne DST Ends on last Sunday of March. But in fact DST end date should be First Sunday of April
Australia/Melbourne
DST END: 05-Apr, 03:00h
DST START: 04-Oct, 02:00h
Is there any patch available to correct these timezone settings?
Edited by: Palli2008 on Nov 14, 2008 1:37 PM