Re: daylight savings time change



On Jan 11 Tim did spake thusly:

On Wed, 2007-01-10 at 09:12 -0500, Gene Poole wrote:
To maintain platform independence Java does not acquire the date time
from the OS, but does it's own calculations.

I presume you don't mean the JRE. I've never seen any way that you
could tell it to use a particular timezone, so it must be able to tell
what your local one is by itself.

http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date.html

It gets the date from the host OS. It counts (same as unix) in milliseconds from 1 Jan 1970.

--
Scott van Looy - email:me@xxxxxxxxxxxxxx | web:www.ethosuk.org.uk
site:www.freakcity.net - the in place for outcasts since 2003
PGP Fingerprint: 7180 5543 C6C4 747B 7E74 802C 7CF9 E526 44D9 D4A7
-------------------------------------------
|/// /// /// /// WIDE LOAD /// /// /// ///|
-------------------------------------------

A person with one watch knows what time it is; a person with two watches is
never sure. Proverb

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Timezone using longitude
    ... It includes DST rules. ... are established by law, usually follow 1-hour increments, and have ... I tried it to do some calculations and found it working, ... The timezone changes every 15 degrees on longitude either way. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Timezone using longitude
    ... What you are calculating is local mean time, not zone time. ... established by law, usually follow 1-hour increments, and have boundaries ... I tried it to do some calculations and found it working, ... The timezone changes every 15 degrees on longitude either way. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: time zones changing appointments
    ... I think I must have changed the timezone on the pocket ... > Hello Tim, ... If your appointments are made with timezone differences in mind ...
    (microsoft.public.pocketpc)
  • Re: new java date query
    ... Deals that had that start date in the home timezone of the business. ... Where do these pure dates come from? ... You get them by considering the date of a timestamp at Greenwich. ... calculations are simplified by getting rid of the time and timezone ...
    (comp.lang.java.programmer)
  • Timezone using longitude
    ... I have found a method to find the timezone using longitude of a place from somewhere. ... I tried it to do some calculations and found it working, it is not very accurate though ... EggHeadCafe - .NET Developer Portal of Choice ...
    (microsoft.public.dotnet.languages.csharp)