Daylight saving 2004-10-31 03:00 EEST/EET?

Discussion in 'Java' started by NoName NoName, Apr 12, 2004.

  1. example program:
    http://koti.mbnet.fi/akini/java/calendar/

    How can I set "2004-10-31 03:00:00 EEST" calendar time?
    I want to specify timestamps for my scheduler.

    The following codesnippet does not understand EEST id.
    It will fall to GMT setting.
    cal = Calendar.getInstance(TimeZone.getTimeZone("EEST"));
    cal.set(2004, 10-1, 31, 3, 0, 0);

    I could use "Europe/Helsinki" but then cannot say whether
    I mean 03:00 summertime or 03:00 wintertime.

    It will understand "EET" id, but then I sort of skip
    one hour if want to use 03:00 EEST and then 03:00 EET
    (+1h to previous one).

    I've added here a testprogram to see how it goes.

    EU daylighttimesaving in StandardTime (UTC) rule:
    2004-03-28 01:00:00 - 2004-10-31 01:00:00

    Europe/Helsinki: EEST = "summer time" +1h forward
    EET = "winter time" -1h backward
    2004-10-31 02:00:00 EEST
    2004-10-31 03:00:00 EEST !! summertime 03:00
    2004-10-31 03:00:00 EET !! wintertime 03:00
    2004-10-31 04:00:00 EET
    2004-10-31 05:00:00 EET

    example program:
    http://koti.mbnet.fi/akini/java/calendar/
    NoName NoName, Apr 12, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pranav Kantawala
    Replies:
    5
    Views:
    747
    P.Hill
    Feb 25, 2004
  2. Michael Pfeifer
    Replies:
    4
    Views:
    391
    red floyd
    Dec 17, 2003
  3. Amitabh Deepak

    Daylight saving

    Amitabh Deepak, Sep 17, 2004, in forum: C++
    Replies:
    4
    Views:
    1,440
    AlanP
    Sep 17, 2004
  4. Filip Lyncker
    Replies:
    3
    Views:
    748
    Karl Heinz Buchegger
    Apr 5, 2005
  5. Pelle Beckman
    Replies:
    3
    Views:
    487
    Ioannis Vranos
    May 1, 2005
Loading...

Share This Page