[m-rev.] for review: Java implementation of time library now tested and correct

James Goddard goddardjames at yahoo.com
Wed Dec 17 11:40:47 AEDT 2003


>
> Oh, wait... getDSTSavings() is new in J2SE 1.4
> (version 1.4 of the Java
> 2 SDK Standard Edition), which was released by Sun
> in Feb 2002.  I think
> we only have J2SE 1.3.1 installed on our systems,
> specifically jupiter &
> swordfish, which are running SuSE 8.1.  So that
> won't work, will it?
> 

TimeZone.getDSTSavings() is new to 1.4, but
SimpleTimeZone.getDSTSavings() (which does the exact
same  thing) has been around since 1.2, and that's
what I've been using.  SimpleTimeZone is a concrete
subclass of TimeZone which is what GregorianCalendar
uses anyway.

So far, I don't think I've used anything later than
version 1.2, so it should be fairly safe.


http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list