Tzdata2009s - Pacific/Fiji

S R sonali.rajput at gmail.com
Thu Dec 3 10:39:00 UTC 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm.icann.org/pipermail/tz/attachments/20091203/77147837/attachment-0001.html 


More information about the tz mailing list