Hi, We are using the olson DB tzdata2009s for java. When testing Fiji, we encountered a problem where the TZ isn't reporting The DST changes properly. The following is the test case : ------------------------- import java.util.*; public class TZ { public static void main(String args[]) { TimeZone tz = TimeZone.getTimeZone("Pacific/Fiji"); System.out.println("tz---"+tz); } } --------------------------- Once run this gives : tz---sun.util.calendar.ZoneInfo[id="Pacific/Fiji",offset=43200000,dstSavings=0,useDaylight=false,transitions=9,lastRule=null] Java itself works fine for other timezones showing correct DST (eg : For Israel it gives): tz---sun.util.calendar.ZoneInfo[id="Israel",offset=7200000,dstSavings=3600000,useDaylight=true,transitions=143,lastRule=java.util.SimpleTimeZone[id=Israel,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=26,startDayOfWeek=6,startTime=7200000,startTimeMode=0,endMode=1,endMonth=8,endDay=13,endDayOfWeek=0,endTime=7200000,endTimeMode=0]] We should get a similar result for Pacific/Fiji Thanks Sonali
participants (1)
-
S R