[Pljava-dev] problem with date and timezone

Kris Jurka books at ejurka.com
Mon Nov 24 16:33:36 UTC 2008


Eric BOYER wrote:
> 
> When I set a date in a row, this row is OK but the trigger seems not to 
> be in the same timezone because I have one day less (in reality one hour).
> 
> aladin at srv-aladin:
> sun.util.calendar.ZoneInfo[id="GMT+01:00",offset=3600000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
> 
> boyere at footcrix:
> sun.util.calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]
> 

These two JVM timezones are not the same.  useDaylight is different between.

Kris Jurka


More information about the Pljava-dev mailing list