FW: Tzdata2009s - Pacific/Fiji

Olson, Arthur David (NIH/NCI) [E] olsona at dc37a.nci.nih.gov
Thu Dec 3 14:16:45 UTC 2009


I'm forwarding this message from Sonali Rajput who is not on the time zone mailing list. Those of you who are on the list, please direct replies appropriately.

				--ado

From: S R [mailto:sonali.rajput at gmail.com] 
Sent: Thursday, December 03, 2009 5:39
To: tz at lecserver.nci.nih.gov
Subject: Tzdata2009s - Pacific/Fiji

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




More information about the tz mailing list