[jcifs] timezone problems

Michael B Allen mba2000 at ioplex.com
Wed Mar 10 01:31:24 GMT 2004


Julian Reschke said:

<snip program>

This below is what I get when I run your program with 0.8.1. Is this
right, wrong or what? The SMB path smb://miallen3/tmp/ refers to /tmp
which I assume is supposed to refer to the same directory?

I do believe createFile was quite broken in b1. Maybe that factors into
this somehow?

Pls advise,

Mike

[miallen at miallen3 jcifs]$ java -Djcifs.properties=../miallen.prp
TestTimeStamps smb://miallen3/tmp/ /tmp/
== TIMEZONE INFO ==
Default TimeZone is:
java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]

== JAVA.IO.FILE INFO ==
setting to: 961632000000
file summer lastmod: 961632000000 11130 Wed Jun 21 20:00:00 EDT 2000
setting to: 946080000000
file winter lastmod: 946080000000 10950 Fri Dec 24 19:00:00 EST 1999

== JCIFS.SMB.SMMFILE INFO ==
smb summer lastmod: 961632000000 11130 Wed Jun 21 20:00:00 EDT 2000
smb winter lastmod: 946080000000 10950 Fri Dec 24 19:00:00 EST 1999


More information about the jcifs mailing list