当前位置:  技术问答>java相关

关于java的日期设置问题

    来源: 互联网  发布时间:2015-03-29

    本文导语:  我有两个问题想请教大侠们 1、在java中如何获取当前的日期和时间 2、如何设置Timezone,比如我要设置Timezone为东八区,应该怎么搞? 若解答有效,立即结分 谢谢! | public static void showTime() ...

我有两个问题想请教大侠们
1、在java中如何获取当前的日期和时间
2、如何设置Timezone,比如我要设置Timezone为东八区,应该怎么搞?

若解答有效,立即结分
谢谢!

|
public static void showTime()
   {
     System.out.println("[SHOWTIME BEGIN]");
     String[] IDS = TimeZone.getAvailableIDs();
     for(int i=0;i=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/Adak -10:00 US HA%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-10*ONE_HOUR, "HST" /* Pacific/Honolulu */),
// Zone HST -10:00 - HST
//--------------------------------------------------------------------
new SimpleTimeZone(-10*ONE_HOUR, "Pacific/Fakaofo"),
// Zone Pacific/Fakaofo -10:00 - TKT # Tokelau Time
//--------------------------------------------------------------------
new SimpleTimeZone(-10*ONE_HOUR, "Pacific/Honolulu"),
// Zone Pacific/Honolulu -10:00 - HST
//--------------------------------------------------------------------
new SimpleTimeZone(-10*ONE_HOUR, "Pacific/Rarotonga"),
// Zone Pacific/Rarotonga -10:00 Cook CK%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-10*ONE_HOUR, "Pacific/Tahiti"),
// Zone Pacific/Tahiti -10:00 - TAHT # Tahiti Time
//--------------------------------------------------------------------
new SimpleTimeZone(-(9*ONE_HOUR+30*ONE_MINUTE), "Pacific/Marquesas"),
// Zone Pacific/Marquesas -9:30 - MART # Marquesas Time
//--------------------------------------------------------------------
new SimpleTimeZone(-9*ONE_HOUR, "AST" /* America/Anchorage */,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone AST -9:00 US AK%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-9*ONE_HOUR, "America/Anchorage",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/Anchorage -9:00 US AK%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-9*ONE_HOUR, "Pacific/Gambier"),
// Zone Pacific/Gambier -9:00 - GAMT # Gambier Time
//--------------------------------------------------------------------
new SimpleTimeZone(-8*ONE_HOUR, "America/Los_Angeles",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/Los_Angeles -8:00 US P%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-8*ONE_HOUR, "America/Tijuana",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/Tijuana -8:00 US P%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-8*ONE_HOUR, "America/Vancouver",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Vanc 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Vanc 1962 max - Oct lastSun 2:00 0 S
// Zone America/Vancouver -8:00 Vanc P%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-8*ONE_HOUR, "PST" /* America/Los_Angeles */,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone PST -8:00 US P%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-8*ONE_HOUR, "Pacific/Pitcairn"),
// Zone Pacific/Pitcairn -8:00 - PST # Pitcairn Standard Time
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "America/Dawson_Creek"),
// Zone America/Dawson_Creek -7:00 - MST
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "America/Denver",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/Denver -7:00 US M%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "America/Edmonton",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Edm 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Edm 1972 max - Oct lastSun 2:00 0 S
// Zone America/Edmonton -7:00 Edm M%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "America/Mazatlan",
  Calendar.MAY, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.SEPTEMBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Mexico 2001 max - May Sun>=1 2:00 1:00 D
// Rule Mexico 2001 max - Sep lastSun 2:00 0 S
// Zone America/Mazatlan -7:00 Mexico M%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "America/Phoenix"),
// Zone America/Phoenix -7:00 - MST
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "MST" /* America/Denver */,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone MST -7:00 US M%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-7*ONE_HOUR, "PNT" /* America/Phoenix */),
// Zone PNT -7:00 - MST
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Belize"),
// Zone America/Belize -6:00 Belize C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Chicago",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/Chicago -6:00 US C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Costa_Rica"),
// Zone America/Costa_Rica -6:00 CR C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/El_Salvador"),
// Zone America/El_Salvador -6:00 Salv C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Guatemala"),
// Zone America/Guatemala -6:00 Guat C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Managua"),
// Zone America/Managua -6:00 - CST
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Mexico_City",
  Calendar.MAY, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.SEPTEMBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Mexico 2001 max - May Sun>=1 2:00 1:00 D
// Rule Mexico 2001 max - Sep lastSun 2:00 0 S
// Zone America/Mexico_City -6:00 Mexico C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Regina"),
// Zone America/Regina -6:00 - CST
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Tegucigalpa"),
// Zone America/Tegucigalpa -6:00 Salv C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "America/Winnipeg",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Winn 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Winn 1987 max - Oct lastSun 2:00s 0 S
// Zone America/Winnipeg -6:00 Winn C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "CST" /* America/Chicago */,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone CST -6:00 US C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "Pacific/Easter",
  Calendar.OCTOBER, 9, -Calendar.SUNDAY, 4*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.MARCH, 9, -Calendar.SUNDAY, 3*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule Chile 1999 max - Oct Sun>=9 4:00u 1:00 S
// Rule Chile 2000 max - Mar Sun>=9 3:00u 0 -
// Zone Pacific/Easter -6:00 Chile EAS%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-6*ONE_HOUR, "Pacific/Galapagos"),
// Zone Pacific/Galapagos -6:00 - GALT      # Galapagos Time
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Bogota"),
// Zone America/Bogota -5:00 CO CO%sT # Colombia Time
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Cayman"),
// Zone America/Cayman -5:00 - EST
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Grand_Turk",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule TC 1987 max - Apr Sun>=1 0:00 1:00 D
// Rule TC 1979 max - Oct lastSun 0:00 0 S
// Zone America/Grand_Turk -5:00 TC E%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Guayaquil"),
// Zone America/Guayaquil -5:00 - ECT      # Ecuador Time
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Havana",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 0, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 0, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Cuba 2000 max - Apr Sun>=1 0:00s 1:00 D
// Rule Cuba 1998 max - Oct lastSun 0:00s 0 S
// Zone America/Havana -5:00 Cuba C%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Indianapolis"),
// Zone America/Indianapolis -5:00 - EST
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Jamaica"),
// Zone America/Jamaica -5:00 - EST
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Lima"),
// Zone America/Lima -5:00 Peru PE%sT # Peru Time
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Montreal",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Mont 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Mont 1957 max - Oct lastSun 2:00 0 S
// Zone America/Montreal -5:00 Mont E%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Nassau",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Bahamas 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Bahamas 1964 max - Oct lastSun 2:00 0 S
// Zone America/Nassau -5:00 Bahamas E%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/New_York",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone America/New_York -5:00 US E%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Panama"),
// Zone America/Panama -5:00 - EST
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Port-au-Prince"),
// Zone America/Port-au-Prince -5:00 Haiti E%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Porto_Acre" /* America/Rio_Branco */),
// Zone America/Porto_Acre -5:00 - ACT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "America/Rio_Branco"),
// Zone America/Rio_Branco -5:00 - ACT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "EST" /* America/New_York */,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule US 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule US 1967 max - Oct lastSun 2:00 0 S
// Zone EST -5:00 US E%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-5*ONE_HOUR, "IET" /* America/Indianapolis */),
// Zone IET -5:00 - EST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Anguilla"),
// Zone America/Anguilla -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Antigua"),
// Zone America/Antigua -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Aruba"),
// Zone America/Aruba -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Asuncion",
  Calendar.OCTOBER, 1, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.MARCH, 1, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Para 1996 max - Oct Sun>=1 0:00 1:00 S
// Rule Para 1998 max - Mar Sun>=1 0:00 0 -
// Zone America/Asuncion -4:00 Para PY%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Barbados"),
// Zone America/Barbados -4:00 Barb A%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Caracas"),
// Zone America/Caracas -4:00 - VET
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Cuiaba",
  Calendar.OCTOBER, 8, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.FEBRUARY, 15, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Brazil 2000 max - Oct Sun>=8  0:00 1:00 S
// Rule Brazil 2001 max - Feb Sun>=15  0:00 0 -
// Zone America/Cuiaba -4:00 Brazil AM%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Curacao"),
// Zone America/Curacao -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Dominica"),
// Zone America/Dominica -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Grenada"),
// Zone America/Grenada -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Guadeloupe"),
// Zone America/Guadeloupe -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Guyana"),
// Zone America/Guyana -4:00 - GYT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Halifax",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Halifax 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Halifax 1962 max - Oct lastSun 2:00 0 S
// Zone America/Halifax -4:00 Halifax A%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/La_Paz"),
// Zone America/La_Paz -4:00 - BOT # Bolivia Time
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Manaus"),
// Zone America/Manaus -4:00 - AMT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Martinique"),
// Zone America/Martinique -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Montserrat"),
// Zone America/Montserrat -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Port_of_Spain"),
// Zone America/Port_of_Spain -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Puerto_Rico"),
// Zone America/Puerto_Rico -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Santiago",
  Calendar.OCTOBER, 9, -Calendar.SUNDAY, 4*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.MARCH, 9, -Calendar.SUNDAY, 3*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule Chile 1999 max - Oct Sun>=9 4:00u 1:00 S
// Rule Chile 2000 max - Mar Sun>=9 3:00u 0 -
// Zone America/Santiago -4:00 Chile CL%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Santo_Domingo"),
// Zone America/Santo_Domingo -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/St_Kitts"),
// Zone America/St_Kitts -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/St_Lucia"),
// Zone America/St_Lucia -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/St_Thomas"),
// Zone America/St_Thomas -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/St_Vincent"),
// Zone America/St_Vincent -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Thule",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Thule 1993 max - Apr Sun>=1 2:00 1:00 D
// Rule Thule 1993 max - Oct lastSun 2:00 0 S
// Zone America/Thule -4:00 Thule A%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "America/Tortola"),
// Zone America/Tortola -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "Antarctica/Palmer",
  Calendar.OCTOBER, 9, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.MARCH, 9, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule ChileAQ 1999 max - Oct Sun>=9 0:00 1:00 S
// Rule ChileAQ 2000 max - Mar Sun>=9 0:00 0 -
// Zone Antarctica/Palmer -4:00 ChileAQ CL%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "Atlantic/Bermuda",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Bahamas 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Bahamas 1964 max - Oct lastSun 2:00 0 S
// Zone Atlantic/Bermuda -4:00 Bahamas A%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "Atlantic/Stanley",
  Calendar.SEPTEMBER, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.APRIL, 15, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Falk 2001 max - Sep Sun>=1 2:00 1:00 S
// Rule Falk 2001 max - Apr Sun>=15 2:00 0 -
// Zone Atlantic/Stanley -4:00 Falk FK%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-4*ONE_HOUR, "PRT" /* America/Puerto_Rico */),
// Zone PRT -4:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(-(3*ONE_HOUR+30*ONE_MINUTE), "America/St_Johns",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 1*ONE_MINUTE, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_MINUTE, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule StJohns 1989 max - Apr Sun>=1 0:01 1:00 D
// Rule StJohns 1987 max - Oct lastSun 0:01 0 S
// Zone America/St_Johns -3:30 StJohns N%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-(3*ONE_HOUR+30*ONE_MINUTE), "CNT" /* America/St_Johns */,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 1*ONE_MINUTE, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_MINUTE, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule StJohns 1989 max - Apr Sun>=1 0:01 1:00 D
// Rule StJohns 1987 max - Oct lastSun 0:01 0 S
// Zone CNT -3:30 StJohns N%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "AGT" /* America/Buenos_Aires */),
// Zone AGT -3:00 - ART
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Buenos_Aires"),
// Zone America/Buenos_Aires -3:00 - ART
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Cayenne"),
// Zone America/Cayenne -3:00 - GFT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Fortaleza"),
// Zone America/Fortaleza -3:00 - BRT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Godthab",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone America/Godthab -3:00 EU WG%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Miquelon",
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Mont 1987 max - Apr Sun>=1 2:00 1:00 D
// Rule Mont 1957 max - Oct lastSun 2:00 0 S
// Zone America/Miquelon -3:00 Mont PM%sT # Pierre & Miquelon Time
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Montevideo"),
// Zone America/Montevideo -3:00 Uruguay UY%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Paramaribo"),
// Zone America/Paramaribo -3:00 - SRT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "America/Sao_Paulo",
  Calendar.OCTOBER, 8, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.FEBRUARY, 15, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Brazil 2000 max - Oct Sun>=8  0:00 1:00 S
// Rule Brazil 2001 max - Feb Sun>=15  0:00 0 -
// Zone America/Sao_Paulo -3:00 Brazil BR%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-3*ONE_HOUR, "BET" /* America/Sao_Paulo */,
  Calendar.OCTOBER, 8, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.FEBRUARY, 15, -Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Brazil 2000 max - Oct Sun>=8  0:00 1:00 S
// Rule Brazil 2001 max - Feb Sun>=15  0:00 0 -
// Zone BET -3:00 Brazil BR%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-2*ONE_HOUR, "America/Noronha"),
// Zone America/Noronha -2:00 - FNT
//--------------------------------------------------------------------
new SimpleTimeZone(-2*ONE_HOUR, "Atlantic/South_Georgia"),
// Zone Atlantic/South_Georgia -2:00 - GST # South Georgia Time
//--------------------------------------------------------------------
new SimpleTimeZone(-1*ONE_HOUR, "America/Scoresbysund",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone America/Scoresbysund -1:00 EU EG%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-1*ONE_HOUR, "Atlantic/Azores",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Atlantic/Azores -1:00 EU AZO%sT
//--------------------------------------------------------------------
new SimpleTimeZone(-1*ONE_HOUR, "Atlantic/Cape_Verde"),
// Zone Atlantic/Cape_Verde -1:00 - CVT
//--------------------------------------------------------------------
new SimpleTimeZone(-1*ONE_HOUR, "Atlantic/Jan_Mayen"),
// Zone Atlantic/Jan_Mayen -1:00 - EGT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Abidjan"),
// Zone Africa/Abidjan 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Accra"),
// Zone Africa/Accra 0:00 Ghana %s
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Banjul"),
// Zone Africa/Banjul 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Bissau"),
// Zone Africa/Bissau 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Casablanca"),
// Zone Africa/Casablanca 0:00 - WET
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Conakry"),
// Zone Africa/Conakry 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Dakar"),
// Zone Africa/Dakar 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Freetown"),
// Zone Africa/Freetown 0:00 SL %s
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Lome"),
// Zone Africa/Lome 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Monrovia"),
// Zone Africa/Monrovia 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Nouakchott"),
// Zone Africa/Nouakchott 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Ouagadougou"),
// Zone Africa/Ouagadougou 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Sao_Tome"),
// Zone Africa/Sao_Tome 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Africa/Timbuktu"),
// Zone Africa/Timbuktu 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Atlantic/Canary",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Atlantic/Canary 0:00 EU WE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Atlantic/Faeroe",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Atlantic/Faeroe 0:00 EU WE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Atlantic/Reykjavik"),
// Zone Atlantic/Reykjavik 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Atlantic/St_Helena"),
// Zone Atlantic/St_Helena 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Europe/Dublin",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Dublin 0:00 EU GMT/IST
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Europe/Lisbon",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Lisbon 0:00 EU WE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "Europe/London",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/London 0:00 EU GMT/BST
//--------------------------------------------------------------------
new SimpleTimeZone(0, "GMT"),
// Zone GMT 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "UTC" /* GMT */),
// Zone GMT 0:00 - GMT
//--------------------------------------------------------------------
new SimpleTimeZone(0, "WET",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone WET 0:00 EU WE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Algiers"),
// Zone Africa/Algiers 1:00 - CET
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Bangui"),
// Zone Africa/Bangui 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Douala"),
// Zone Africa/Douala 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Kinshasa"),
// Zone Africa/Kinshasa 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Lagos"),
// Zone Africa/Lagos 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Libreville"),
// Zone Africa/Libreville 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Luanda"),
// Zone Africa/Luanda 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Malabo"),
// Zone Africa/Malabo 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Ndjamena"),
// Zone Africa/Ndjamena 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Niamey"),
// Zone Africa/Niamey 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Porto-Novo"),
// Zone Africa/Porto-Novo 1:00 - WAT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Tunis"),
// Zone Africa/Tunis 1:00 Tunisia CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Africa/Windhoek",
  Calendar.SEPTEMBER, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.APRIL, 1, -Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Namibia 1994 max - Sep Sun>=1 2:00 1:00 S
// Rule Namibia 1995 max - Apr Sun>=1 2:00 0 -
// Zone Africa/Windhoek 1:00 Namibia WA%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "ECT" /* Europe/Paris */,
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone ECT 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Amsterdam",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Amsterdam 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Andorra",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Andorra 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Belgrade",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Belgrade 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Berlin",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Berlin 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Brussels",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Brussels 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Budapest",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Budapest 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Copenhagen",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Copenhagen 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Gibraltar",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Gibraltar 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Luxembourg",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Luxembourg 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Madrid",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Madrid 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Malta",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Malta 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Monaco",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Monaco 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Oslo",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Oslo 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Paris",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Paris 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Prague",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Prague 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Rome",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Rome 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Stockholm",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Stockholm 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Tirane",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Tirane 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Vaduz",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Vaduz 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Vienna",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Vienna 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Warsaw",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Warsaw 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(1*ONE_HOUR, "Europe/Zurich",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Zurich 1:00 EU CE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "ART" /* Africa/Cairo */,
  Calendar.APRIL, -1, Calendar.FRIDAY, 0, SimpleTimeZone.STANDARD_TIME,
  Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 23*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Egypt 1995 max - Apr lastFri  0:00s 1:00 S
// Rule Egypt 1995 max - Sep lastThu 23:00s 0 -
// Zone ART 2:00 Egypt EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Blantyre"),
// Zone Africa/Blantyre 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Bujumbura"),
// Zone Africa/Bujumbura 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Cairo",
  Calendar.APRIL, -1, Calendar.FRIDAY, 0, SimpleTimeZone.STANDARD_TIME,
  Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 23*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Egypt 1995 max - Apr lastFri  0:00s 1:00 S
// Rule Egypt 1995 max - Sep lastThu 23:00s 0 -
// Zone Africa/Cairo 2:00 Egypt EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Gaborone"),
// Zone Africa/Gaborone 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Harare"),
// Zone Africa/Harare 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Johannesburg"),
// Zone Africa/Johannesburg 2:00 SA SAST
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Kigali"),
// Zone Africa/Kigali 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Lubumbashi"),
// Zone Africa/Lubumbashi 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Lusaka"),
// Zone Africa/Lusaka 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Maputo"),
// Zone Africa/Maputo 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Maseru"),
// Zone Africa/Maseru 2:00 - SAST
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Mbabane"),
// Zone Africa/Mbabane 2:00 - SAST
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Africa/Tripoli"),
// Zone Africa/Tripoli 2:00 - EET
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Asia/Amman",
  Calendar.MARCH, -1, Calendar.THURSDAY, 0, SimpleTimeZone.STANDARD_TIME,
  Calendar.SEPTEMBER, -1, Calendar.THURSDAY, 0, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Jordan 2000 max - Mar lastThu 0:00s 1:00 S
// Rule Jordan 1999 max - Sep lastThu 0:00s 0 -
// Zone Asia/Amman 2:00 Jordan EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Asia/Beirut",
  Calendar.MARCH, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Lebanon 1993 max - Mar lastSun 0:00 1:00 S
// Rule Lebanon 1999 max - Oct lastSun 0:00 0 -
// Zone Asia/Beirut 2:00 Lebanon EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Asia/Damascus",
  Calendar.APRIL, 1, 0, 0, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, 1, 0, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Syria 1999 max - Apr  1 0:00 1:00 S
// Rule Syria 1994 max - Oct  1 0:00 0 -
// Zone Asia/Damascus 2:00 Syria EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Asia/Jerusalem",
  Calendar.APRIL, 9, 0, 1*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.SEPTEMBER, 24, 0, 1*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Zion 2001 only - Apr  9 1:00 1:00 D
// Rule Zion 2001 only - Sep 24 1:00 0 S
// Zone Asia/Jerusalem 2:00 Zion I%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Asia/Nicosia",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EUAsia 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EUAsia 1996 max - Oct lastSun  1:00u 0 -
// Zone Asia/Nicosia 2:00 EUAsia EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "CAT" /* Africa/Harare */),
// Zone CAT 2:00 - CAT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "EET",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone EET 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Athens",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Athens 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Bucharest",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Bucharest 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Chisinau",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Chisinau 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Helsinki",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Helsinki 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Istanbul",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Istanbul 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Kaliningrad",
  Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Russia 1993 max - Mar lastSun  2:00s 1:00 S
// Rule Russia 1996 max - Oct lastSun  2:00s 0 -
// Zone Europe/Kaliningrad 2:00 Russia EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Kiev",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Kiev 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Minsk",
  Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Russia 1993 max - Mar lastSun  2:00s 1:00 S
// Rule Russia 1996 max - Oct lastSun  2:00s 0 -
// Zone Europe/Minsk 2:00 Russia EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Riga",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Riga 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Simferopol",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Simferopol 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Sofia",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.UTC_TIME,
  1*ONE_HOUR),
// Rule EU 1981 max - Mar lastSun  1:00u 1:00 S
// Rule EU 1996 max - Oct lastSun  1:00u 0 -
// Zone Europe/Sofia 2:00 EU EE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Tallinn"),
// Zone Europe/Tallinn 2:00 - EET
//--------------------------------------------------------------------
new SimpleTimeZone(2*ONE_HOUR, "Europe/Vilnius"),
// Zone Europe/Vilnius 2:00 - EET
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Addis_Ababa"),
// Zone Africa/Addis_Ababa 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Asmera"),
// Zone Africa/Asmera 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Dar_es_Salaam"),
// Zone Africa/Dar_es_Salaam 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Djibouti"),
// Zone Africa/Djibouti 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Kampala"),
// Zone Africa/Kampala 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Khartoum"),
// Zone Africa/Khartoum 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Mogadishu"),
// Zone Africa/Mogadishu 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Africa/Nairobi"),
// Zone Africa/Nairobi 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Asia/Aden"),
// Zone Asia/Aden 3:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Asia/Baghdad",
  Calendar.APRIL, 1, 0, 3*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, 1, 0, 3*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Iraq 1991 max - Apr  1 3:00s 1:00 D
// Rule Iraq 1991 max - Oct  1 3:00s 0 S
// Zone Asia/Baghdad 3:00 Iraq A%sT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Asia/Bahrain"),
// Zone Asia/Bahrain 3:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Asia/Kuwait"),
// Zone Asia/Kuwait 3:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Asia/Qatar"),
// Zone Asia/Qatar 3:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Asia/Riyadh"),
// Zone Asia/Riyadh 3:00 - AST
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "EAT" /* Africa/Addis_Ababa */),
// Zone EAT 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Europe/Moscow",
  Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Russia 1993 max - Mar lastSun  2:00s 1:00 S
// Rule Russia 1996 max - Oct lastSun  2:00s 0 -
// Zone Europe/Moscow 3:00 Russia MSK/MSD
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Indian/Antananarivo"),
// Zone Indian/Antananarivo 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Indian/Comoro"),
// Zone Indian/Comoro 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR, "Indian/Mayotte"),
// Zone Indian/Mayotte 3:00 - EAT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR+30*ONE_MINUTE, "Asia/Tehran",
  Calendar.MARCH, 21, 0, 0, SimpleTimeZone.WALL_TIME,
  Calendar.SEPTEMBER, 23, 0, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Iran 2001 2003 - Mar 21 0:00 1:00 S
// Rule Iran 2001 2003 - Sep 23 0:00 0 -
// Zone Asia/Tehran 3:30 Iran IR%sT
//--------------------------------------------------------------------
new SimpleTimeZone(3*ONE_HOUR+30*ONE_MINUTE, "MET" /* Asia/Tehran */,
  Calendar.MARCH, 21, 0, 0, SimpleTimeZone.WALL_TIME,
  Calendar.SEPTEMBER, 23, 0, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Iran 2001 2003 - Mar 21 0:00 1:00 S
// Rule Iran 2001 2003 - Sep 23 0:00 0 -
// Zone MET 3:30 Iran IR%sT
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Asia/Aqtau",
  Calendar.MARCH, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule E-EurAsia 1981 max - Mar lastSun  0:00 1:00 S
// Rule E-EurAsia 1996 max - Oct lastSun  0:00 0 -
// Zone Asia/Aqtau 4:00 E-EurAsia AQT%sT
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Asia/Baku",
  Calendar.MARCH, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 1*ONE_HOUR, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule Azer 1997 max - Mar lastSun  1:00 1:00 S
// Rule Azer 1997 max - Oct lastSun  1:00 0 -
// Zone Asia/Baku 4:00 Azer AZ%sT
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Asia/Dubai"),
// Zone Asia/Dubai 4:00 - GST
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Asia/Muscat"),
// Zone Asia/Muscat 4:00 - GST
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Asia/Tbilisi",
  Calendar.MARCH, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule E-EurAsia 1981 max - Mar lastSun  0:00 1:00 S
// Rule E-EurAsia 1996 max - Oct lastSun  0:00 0 -
// Zone Asia/Tbilisi 4:00 E-EurAsia GE%sT
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Asia/Yerevan",
  Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule RussiaAsia 1993 max - Mar lastSun  2:00s 1:00 S
// Rule RussiaAsia 1996 max - Oct lastSun  2:00s 0 -
// Zone Asia/Yerevan 4:00 RussiaAsia AM%sT
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Europe/Samara",
  Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule Russia 1993 max - Mar lastSun  2:00s 1:00 S
// Rule Russia 1996 max - Oct lastSun  2:00s 0 -
// Zone Europe/Samara 4:00 Russia SAM%sT # Samara Time
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Indian/Mahe"),
// Zone Indian/Mahe 4:00 - SCT # Seychelles Time
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Indian/Mauritius"),
// Zone Indian/Mauritius 4:00 - MUT # Mauritius Time
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "Indian/Reunion"),
// Zone Indian/Reunion 4:00 - RET # Reunion Time
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR, "NET" /* Asia/Yerevan */,
  Calendar.MARCH, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 2*ONE_HOUR, SimpleTimeZone.STANDARD_TIME,
  1*ONE_HOUR),
// Rule RussiaAsia 1993 max - Mar lastSun  2:00s 1:00 S
// Rule RussiaAsia 1996 max - Oct lastSun  2:00s 0 -
// Zone NET 4:00 RussiaAsia AM%sT
//--------------------------------------------------------------------
new SimpleTimeZone(4*ONE_HOUR+30*ONE_MINUTE, "Asia/Kabul"),
// Zone Asia/Kabul 4:30 - AFT
//--------------------------------------------------------------------
new SimpleTimeZone(5*ONE_HOUR, "Asia/Aqtobe",
  Calendar.MARCH, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  Calendar.OCTOBER, -1, Calendar.SUNDAY, 0, SimpleTimeZone.WALL_TIME,
  1*ONE_HOUR),
// Rule E-EurAsia 1981 max - Mar lastSun  0:00 1:00 S
// Rule E-EurAsia 1996 max - Oct lastSun  0:00 0 -
// Zone Asia/Aqtobe 5:00 E-EurAsia AQT%sT
//--------------------------------------------------------------------
new SimpleTimeZone(5*ONE_HOUR, "Asia/Ashgabat"),
// Zone Asia/Ashgabat 5:00 -

|
//获得当前系统时间,毫秒单位
long time = System.currentTimeMillis();
//自定义日期的格式,你可以看文档得到自己需要的格式
java.text.SimpleDateFormat dateformat = new java.text.SimpleDateForma("yy/MM/ddkk:mm");
System.out.print("日期:"+dateformat.format(time));

|
这是我写的一个测试程序,希望对你又帮助。
import java.util.*;
import java.text.*;

public class TestCalendar{

    public static void main(String args[]){
        Calendar tmpCal=Calendar.getInstance();
        Date tmpTime=tmpCal.getTime();
        SimpleDateFormat sdf=new SimpleDateFormat("HH:mm:ss.SSS");
        String curTime=sdf.format(tmpTime);
        System.out.println("The current system time :"+curTime);
    }
}

    
 
 

您可能感兴趣的文章:

  • 如何将java.util.Date类型的日期转换成java.sql.Date类型的日期?
  • java判断日期字符是否有效(在线等待答案)
  • Java农历日期选择器组件 JLunarDatePicker
  • Java日期选择控件 JCalendar
  • java日期问题
  • 各位好,有一个关于java日期的问题请教,请不吝赐教。
  • 请问Access数据库中的日期型字段是对应java中的哪个Date类?
  • 为什么JAVA算出来的日期是错的?
  • java自定义日期转化类示例
  • java获取日期的方法
  • 谁知道java认证的日期?
  • 在java/jsp里怎样判断一个yyyymmdd格式的字符串是合法的日期型字符串,并求两日期字符串之间的天数?
  • 如何用java取到相当当前日期以前的某个日期(百万火急)???
  • jsp(java)里面怎么求两个日期之间的天数?
  • Java中的日期差问题?
  • 在JAVA中如何判断"2002-02-31"为合法日期(来者都有分呀)
  • Java 日期处理库 Lamma
  • java获取当前日期使用实例
  • 怎么用java script判断是用户输入的字符串内容是正确的日期格式
  • java时间戳转日期格式的实现代码
  • java Servlet获取和设置cookie实例代码
  • 如何设置java应用程序的风格,如java风格,和windows风格!
  • 在ms-dos中用javac调试java.很多东西比如java_home,classpath等如何设置?
  • 简单的问题:java的类怎么设置!!!谢谢!!!
  • Linux下的Java如何设置路径
  • 求助--java 如何设置环境变量??
  • 菜鸟问题,java.library.path如何设置?
  • Free Java的初始设置问题----初学者求教.
  • JAVA的JDialog或JFame如何设置只允许扩大,不允许缩小
  • 为什么我在FC6下设置java_home完毕后在登录又没有了
  • 请碰到过的哥们回应。Java GUI程序中如何设置显示字体呢?
  •  
    本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
    本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Java读写包括中文的txt文件时不同编码格式问题解决
  • 菜鸟的问题:java与java script 的异同??
  • java新手的问题,java高手帮忙...
  • 低级问题:.java文件交付用户怎么运行,难道也是DOS下:java xx.java?有没有.exe?
  • 请各位java高手几个java有关的问题?
  • java.sql.Date和java.uitl.Date的问题?
  • 问大哥大姐们个问题啊,小第编了自己的第一个JAVA问题。用JAVAC编译能通过啊!可是用JAVA不能执行啊!
  • 最入门级的java问题,如何运行HelloWorld.java
  • 请教一些JAVA的基本问题,初学JAVA有些迷糊,帮帮忙!总迷糊实在受不了了!
  • Linux下面的开发好的Java程序,如何部署到其他机器?开发好的Java图形程序,终端上能否用?等问题
  • 关于JAVA应用程序(Java Application)的deliver问题
  • 请Linux 和Java 的高手回答:java JDK1.3.1 在红旗Linux Desktop 2.4 的问题,一定给分。
  • 一个极其菜的问题:JAVA,VISUAL J++,JAVA SCRIPT,EJB,它们之间到底有什么关系,谢谢!
  • 我的Javac没有问题,但是java有问题,
  • 一个JAVA继承的问题(Thinking in JAVA里的一个例子)
  • 刚学习Java,请教关于Java的Application代码编写问题。
  • 我所学的是计算机,现在想学JAVA,对JAVA绝对是初学!!!可以交流的留下个地址。肯定给分,不过非完分后就是问题,问题,问题了;)有留E-mail至少1分
  • 两个非常简单的问题,给40分 (才学2天JAVA人的问题)
  • 问个简单的低级又很怪的问题,我在编译*.java的问题。
  • java学习的问题<问题解决立即结贴>?
  • 我是学pb的,有一个问题想请教各位java的朋友,j2ee平台是什么啊?如果要用这个平台的开发pb的话是否要学java??
  • java命名空间java.sql类types的类成员方法: java_object定义及介绍
  • 我想学JAVA ,是买THINK IN JAVA 还是JAVA2核心技术:卷1 好???
  • java命名空间java.awt.datatransfer类dataflavor的类成员方法: imageflavor定义及介绍
  • 请问Java高手,Java的优势在那里??,Java主要适合于开发哪类应用程序
  • java命名空间java.lang.management类managementfactory的类成员方法: getcompilationmxbean定义及介绍
  • 如何将java.util.Date转化为java.sql.Date?数据库中Date类型对应于java的哪个Date呢
  • java命名空间java.lang.management接口runtimemxbean的类成员方法: getlibrarypath定义及介绍
  • 谁有电子版的《Java编程思想第二版(Thinking in java second)》和《Java2编程详解(special edition java2)》?得到给分
  • java命名空间java.lang.management接口runtimemxbean的类成员方法: getstarttime定义及介绍
  • 本人想学java,请问java程序员的待遇如何,和java主要有几个比较强的方向


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3