TimeZone Defaults

Ian G iang at iang.org
Mon Apr 11 10:28:05 PDT 2005


Christy Pang wrote:

>  > date
> Tue Nov 11 22:22:55 MST 2003
>  > java tztest
> Mountain Standard Time


I see the same result, doesn't pick up the timezone, except mine prints:


$ java -cp . tztest
Greenwich Mean Time

$ java -version
java version "1.4.2-p6"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-toor_17_dec_2004_01_31)
Java HotSpot(TM) Client VM (build 1.4.2-p6-toor_17_dec_2004_01_31, mixed mode)

$ uname -a
FreeBSD localhost 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

-- 
News and views on what matters in finance+crypto:
         http://financialcryptography.com/


More information about the freebsd-java mailing list