home_run 0.9.3-x86-mingw32 → 0.9.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/CHANGELOG +4 -0
  2. data/README.rdoc +0 -1
  3. data/ext/date_ext/date_ext.c +192 -191
  4. data/ext/date_ext/datetime.c +12 -11
  5. data/lib/1.8/date_ext.so +0 -0
  6. data/lib/1.9/date_ext.so +0 -0
  7. data/spec/date/add_month_spec.rb +5 -0
  8. data/spec/date/add_spec.rb +5 -0
  9. data/spec/date/civil_spec.rb +5 -1
  10. data/spec/date/commercial_spec.rb +5 -0
  11. data/spec/date/conversions_spec.rb +10 -0
  12. data/spec/date/downto_spec.rb +6 -0
  13. data/spec/date/julian_spec.rb +10 -0
  14. data/spec/date/minus_month_spec.rb +5 -0
  15. data/spec/date/minus_spec.rb +5 -0
  16. data/spec/date/next_prev_spec.rb +30 -1
  17. data/spec/date/ordinal_spec.rb +5 -0
  18. data/spec/date/parse_spec.rb +6 -0
  19. data/spec/date/parsing_spec.rb +11 -0
  20. data/spec/date/step_spec.rb +6 -0
  21. data/spec/date/strptime_spec.rb +6 -0
  22. data/spec/date/succ_spec.rb +5 -0
  23. data/spec/date/today_spec.rb +5 -0
  24. data/spec/date/upto_spec.rb +7 -0
  25. data/spec/datetime/add_month_spec.rb +5 -0
  26. data/spec/datetime/add_spec.rb +5 -0
  27. data/spec/datetime/constructor_spec.rb +10 -0
  28. data/spec/datetime/conversions_spec.rb +5 -0
  29. data/spec/datetime/downto_spec.rb +6 -0
  30. data/spec/datetime/minus_month_spec.rb +5 -2
  31. data/spec/datetime/minus_spec.rb +5 -0
  32. data/spec/datetime/next_prev_spec.rb +30 -0
  33. data/spec/datetime/now_spec.rb +5 -0
  34. data/spec/datetime/parse_spec.rb +6 -0
  35. data/spec/datetime/parsing_spec.rb +11 -0
  36. data/spec/datetime/step_spec.rb +6 -0
  37. data/spec/datetime/strptime_spec.rb +6 -0
  38. data/spec/datetime/succ_spec.rb +5 -0
  39. data/spec/datetime/upto_spec.rb +6 -0
  40. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.9.4 (2010-10-18)
2
+
3
+ * Have methods of subclasses of Date and DateTime return instances of the subclass (jeremyevans)
4
+
1
5
  === 0.9.3 (2010-09-20)
2
6
 
3
7
  * Don't attempt to undefine already undefined method if you require date_ext twice with two different paths (jeremyevans)
data/README.rdoc CHANGED
@@ -216,7 +216,6 @@ extension due to the above differences:
216
216
 
217
217
  * Date::Performance - Date#<=> assumes @ajd instance variable
218
218
  (unnecessary anyway, as home_run is faster)
219
- * ruby-ole - Depends on DateTime.allocate/#initialize
220
219
 
221
220
  == Reporting issues/bugs
222
221
 
@@ -286,7 +286,7 @@ VALUE rhrd__add_days(VALUE self, long n) {
286
286
  VALUE new;
287
287
  long x;
288
288
  Data_Get_Struct(self, rhrd_t, d);
289
- new = Data_Make_Struct(rhrd_class, rhrd_t, NULL, -1, newd);
289
+ new = Data_Make_Struct(rb_obj_class(self), rhrd_t, NULL, -1, newd);
290
290
 
291
291
  if(!(RHR_HAS_JD(d))) {
292
292
  x = rhrd__safe_add_long(n, (long)(d->day));
@@ -317,7 +317,7 @@ VALUE rhrd__add_months(VALUE self, long n) {
317
317
  long x;
318
318
  Data_Get_Struct(self, rhrd_t, d);
319
319
 
320
- new = Data_Make_Struct(rhrd_class, rhrd_t, NULL, -1, newd);
320
+ new = Data_Make_Struct(rb_obj_class(self), rhrd_t, NULL, -1, newd);
321
321
  RHR_FILL_CIVIL(d)
322
322
  n = rhrd__safe_add_long(n, (long)(d->month));
323
323
  if(n > 1 && n <= 12) {
@@ -718,9 +718,9 @@ int rhrd__fill_from_hash(rhrd_t *d, VALUE hash) {
718
718
  /* Returns a new ruby object filled with information from
719
719
  * the given hash, or raises an error if the given hash
720
720
  * did not contain valid date information. */
721
- VALUE rhrd__from_hash(VALUE hash) {
721
+ VALUE rhrd__from_hash(VALUE klass, VALUE hash) {
722
722
  rhrd_t *d;
723
- VALUE rd = Data_Make_Struct(rhrd_class, rhrd_t, NULL, -1, d);
723
+ VALUE rd = Data_Make_Struct(klass, rhrd_t, NULL, -1, d);
724
724
  if(rhrd__fill_from_hash(d, hash)) {
725
725
  rb_raise(rb_eArgError, "invalid date");
726
726
  } else {
@@ -1255,7 +1255,7 @@ VALUE rhrd__strptime(VALUE rstr, const char *fmt_str, long fmt_len) {
1255
1255
  case 'Z':
1256
1256
  #define RHR_PARSE_Z zone = rb_funcall(rhrd_zone_re, rhrd_id_match, 1, rb_funcall(rstr, rhrd_id_slice, 2, LONG2NUM(pos), LONG2NUM(len)));\
1257
1257
  if (RTEST(zone)) {\
1258
- zone = rb_funcall(zone, rhrd_id_op_array, 1, LONG2NUM(0));\
1258
+ zone = rb_funcall(zone, rhrd_id_op_array, 1, INT2FIX(0));\
1259
1259
  scan_len = NUM2LONG(rb_funcall(zone, rhrd_id_length, 0));\
1260
1260
  } else {\
1261
1261
  return Qnil;\
@@ -1736,10 +1736,10 @@ static VALUE rhrd_s_parse(int argc, VALUE *argv, VALUE klass) {
1736
1736
  d->flags = RHR_HAVE_JD;
1737
1737
  return rd;
1738
1738
  case 1:
1739
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__parse, 1, argv[0]));
1739
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__parse, 1, argv[0]));
1740
1740
  case 2:
1741
1741
  case 3:
1742
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__parse, 2, argv[0], argv[1]));
1742
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__parse, 2, argv[0], argv[1]));
1743
1743
  default:
1744
1744
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 3)", argc);
1745
1745
  break;
@@ -1779,7 +1779,7 @@ static VALUE rhrd_s_strptime(int argc, VALUE *argv, VALUE klass) {
1779
1779
 
1780
1780
  rd = rhrd_s__strptime(argc, argv, klass);
1781
1781
  if (RTEST(rd)) {
1782
- return rhrd__from_hash(rd);
1782
+ return rhrd__from_hash(klass, rd);
1783
1783
  }
1784
1784
  rb_raise(rb_eArgError, "invalid date");
1785
1785
  }
@@ -2009,7 +2009,7 @@ VALUE rhrd_s_zone_to_diff(VALUE klass, VALUE str) {
2009
2009
  }
2010
2010
  switch (len) {
2011
2011
  case 0:
2012
- return LONG2NUM(0);
2012
+ return INT2FIX(0);
2013
2013
  case 1:
2014
2014
  case 2:
2015
2015
  return LONG2NUM(atol(s) * RHR_SECONDS_PER_HOUR * offset);
@@ -2036,7 +2036,7 @@ VALUE rhrd_s_zone_to_diff(VALUE klass, VALUE str) {
2036
2036
  }
2037
2037
  }
2038
2038
 
2039
- return LONG2NUM(0);
2039
+ return INT2FIX(0);
2040
2040
  }
2041
2041
 
2042
2042
  /* Ruby instance methods */
@@ -2173,7 +2173,7 @@ static VALUE rhrd_day(VALUE self) {
2173
2173
  * +Date+ objects due not hold fractional days, so 0 is always returned.
2174
2174
  */
2175
2175
  static VALUE rhrd_day_fraction(VALUE self) {
2176
- return LONG2NUM(0);
2176
+ return INT2FIX(0);
2177
2177
  }
2178
2178
 
2179
2179
  /* call-seq:
@@ -2452,7 +2452,7 @@ static VALUE rhrd_step(int argc, VALUE *argv, VALUE self) {
2452
2452
  rhrd_t *d, *n, *newd;
2453
2453
  rhrdt_t *ndt;
2454
2454
  long step, limit, current;
2455
- VALUE rlimit, new, rstep;
2455
+ VALUE rlimit, new, rstep, klass;
2456
2456
  Data_Get_Struct(self, rhrd_t, d);
2457
2457
  RHR_FILL_JD(d)
2458
2458
 
@@ -2470,6 +2470,7 @@ static VALUE rhrd_step(int argc, VALUE *argv, VALUE self) {
2470
2470
  break;
2471
2471
  }
2472
2472
  rlimit = argv[0];
2473
+ klass = rb_obj_class(self);
2473
2474
 
2474
2475
  #ifdef RUBY19
2475
2476
  if (!rb_block_given_p()) {
@@ -2497,7 +2498,7 @@ static VALUE rhrd_step(int argc, VALUE *argv, VALUE self) {
2497
2498
  if (limit > current) {
2498
2499
  if (step > 0) {
2499
2500
  while(limit >= current) {
2500
- new = Data_Make_Struct(rhrd_class, rhrd_t, NULL, -1, newd);
2501
+ new = Data_Make_Struct(klass, rhrd_t, NULL, -1, newd);
2501
2502
  newd->jd = current;
2502
2503
  RHR_CHECK_JD(newd)
2503
2504
  newd->flags = RHR_HAVE_JD;
@@ -2508,7 +2509,7 @@ static VALUE rhrd_step(int argc, VALUE *argv, VALUE self) {
2508
2509
  } else if (limit < current) {
2509
2510
  if (step < 0) {
2510
2511
  while(limit <= current) {
2511
- new = Data_Make_Struct(rhrd_class, rhrd_t, NULL, -1, newd);
2512
+ new = Data_Make_Struct(klass, rhrd_t, NULL, -1, newd);
2512
2513
  newd->jd = current;
2513
2514
  RHR_CHECK_JD(newd)
2514
2515
  newd->flags = RHR_HAVE_JD;
@@ -2893,7 +2894,7 @@ VALUE rhrd__add_years(VALUE self, long n) {
2893
2894
  VALUE new;
2894
2895
  Data_Get_Struct(self, rhrd_t, d);
2895
2896
 
2896
- new = Data_Make_Struct(rhrd_class, rhrd_t, NULL, -1, newd);
2897
+ new = Data_Make_Struct(rb_obj_class(self), rhrd_t, NULL, -1, newd);
2897
2898
  RHR_FILL_CIVIL(d)
2898
2899
  newd->year = rhrd__safe_add_long(n, d->year);
2899
2900
  newd->month = d->month;
@@ -2946,7 +2947,7 @@ static VALUE rhrd_s_httpdate(int argc, VALUE *argv, VALUE klass) {
2946
2947
  return rd;
2947
2948
  case 1:
2948
2949
  case 2:
2949
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__httpdate, 1, argv[0]));
2950
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__httpdate, 1, argv[0]));
2950
2951
  default:
2951
2952
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 2)", argc);
2952
2953
  break;
@@ -2980,7 +2981,7 @@ static VALUE rhrd_s_iso8601(int argc, VALUE *argv, VALUE klass) {
2980
2981
  return rd;
2981
2982
  case 1:
2982
2983
  case 2:
2983
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__iso8601, 1, argv[0]));
2984
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__iso8601, 1, argv[0]));
2984
2985
  default:
2985
2986
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 2)", argc);
2986
2987
  break;
@@ -3014,7 +3015,7 @@ static VALUE rhrd_s_jisx0301(int argc, VALUE *argv, VALUE klass) {
3014
3015
  return rd;
3015
3016
  case 1:
3016
3017
  case 2:
3017
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__jisx0301, 1, argv[0]));
3018
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__jisx0301, 1, argv[0]));
3018
3019
  default:
3019
3020
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 2)", argc);
3020
3021
  break;
@@ -3048,7 +3049,7 @@ static VALUE rhrd_s_rfc2822(int argc, VALUE *argv, VALUE klass) {
3048
3049
  return rd;
3049
3050
  case 1:
3050
3051
  case 2:
3051
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__rfc2822, 1, argv[0]));
3052
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__rfc2822, 1, argv[0]));
3052
3053
  default:
3053
3054
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 2)", argc);
3054
3055
  break;
@@ -3082,7 +3083,7 @@ static VALUE rhrd_s_rfc3339(int argc, VALUE *argv, VALUE klass) {
3082
3083
  return rd;
3083
3084
  case 1:
3084
3085
  case 2:
3085
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__rfc3339, 1, argv[0]));
3086
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__rfc3339, 1, argv[0]));
3086
3087
  default:
3087
3088
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 2)", argc);
3088
3089
  break;
@@ -3116,7 +3117,7 @@ static VALUE rhrd_s_xmlschema(int argc, VALUE *argv, VALUE klass) {
3116
3117
  return rd;
3117
3118
  case 1:
3118
3119
  case 2:
3119
- return rhrd__from_hash(rb_funcall(klass, rhrd_id__xmlschema, 1, argv[0]));
3120
+ return rhrd__from_hash(klass, rb_funcall(klass, rhrd_id__xmlschema, 1, argv[0]));
3120
3121
  default:
3121
3122
  rb_raise(rb_eArgError, "wrong number of arguments (%i for 2)", argc);
3122
3123
  break;
@@ -4125,176 +4126,176 @@ void Init_date_ext(void) {
4125
4126
  }
4126
4127
 
4127
4128
  rhrd_zones_hash = rb_hash_new();
4128
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("a"), LONG2NUM(3600));
4129
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("adt"), LONG2NUM(-10800));
4130
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("afghanistan"), LONG2NUM(16200));
4131
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ahst"), LONG2NUM(-36000));
4132
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("akdt"), LONG2NUM(-28800));
4133
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("akst"), LONG2NUM(-32400));
4134
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("alaskan"), LONG2NUM(-32400));
4135
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("arab"), LONG2NUM(10800));
4136
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("arabian"), LONG2NUM(14400));
4137
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("arabic"), LONG2NUM(10800));
4138
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("art"), LONG2NUM(-10800));
4139
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ast"), LONG2NUM(-14400));
4140
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("at"), LONG2NUM(-7200));
4141
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("atlantic"), LONG2NUM(-14400));
4142
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("aus central"), LONG2NUM(34200));
4143
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("aus eastern"), LONG2NUM(36000));
4144
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("azores"), LONG2NUM(-3600));
4145
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("b"), LONG2NUM(7200));
4146
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("brst"), LONG2NUM(-7200));
4147
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("brt"), LONG2NUM(-10800));
4148
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("bst"), LONG2NUM(3600));
4149
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("bt"), LONG2NUM(10800));
4150
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("c"), LONG2NUM(10800));
4151
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("canada central"), LONG2NUM(-21600));
4152
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cape verde"), LONG2NUM(-3600));
4153
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cat"), LONG2NUM(-36000));
4154
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("caucasus"), LONG2NUM(14400));
4155
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cct"), LONG2NUM(28800));
4156
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cdt"), LONG2NUM(-18000));
4157
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cen. australia"), LONG2NUM(34200));
4158
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("central"), LONG2NUM(-21600));
4159
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("central america"), LONG2NUM(-21600));
4160
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("central asia"), LONG2NUM(21600));
4161
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("central europe"), LONG2NUM(3600));
4162
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("central european"), LONG2NUM(3600));
4163
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("central pacific"), LONG2NUM(39600));
4164
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cest"), LONG2NUM(7200));
4165
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cet"), LONG2NUM(3600));
4166
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("china"), LONG2NUM(28800));
4167
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("clst"), LONG2NUM(-10800));
4168
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("clt"), LONG2NUM(-14400));
4169
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("cst"), LONG2NUM(-21600));
4170
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("d"), LONG2NUM(14400));
4171
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("dateline"), LONG2NUM(-43200));
4172
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("e"), LONG2NUM(18000));
4173
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. africa"), LONG2NUM(10800));
4174
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. australia"), LONG2NUM(36000));
4175
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. europe"), LONG2NUM(7200));
4176
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. south america"), LONG2NUM(-10800));
4177
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("eadt"), LONG2NUM(39600));
4178
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("east"), LONG2NUM(36000));
4179
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("eastern"), LONG2NUM(-18000));
4180
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("eat"), LONG2NUM(10800));
4181
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("edt"), LONG2NUM(-14400));
4182
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("eest"), LONG2NUM(10800));
4183
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("eet"), LONG2NUM(7200));
4184
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("egypt"), LONG2NUM(7200));
4185
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ekaterinburg"), LONG2NUM(18000));
4186
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("est"), LONG2NUM(-18000));
4187
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("f"), LONG2NUM(21600));
4188
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("fiji"), LONG2NUM(43200));
4189
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("fle"), LONG2NUM(7200));
4190
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("fst"), LONG2NUM(7200));
4191
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("fwt"), LONG2NUM(3600));
4192
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("g"), LONG2NUM(25200));
4193
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("gmt"), LONG2NUM(0));
4194
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("greenland"), LONG2NUM(-10800));
4195
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("greenwich"), LONG2NUM(0));
4196
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("gst"), LONG2NUM(36000));
4197
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("gtb"), LONG2NUM(7200));
4198
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("h"), LONG2NUM(28800));
4199
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("hadt"), LONG2NUM(-32400));
4200
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("hast"), LONG2NUM(-36000));
4201
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("hawaiian"), LONG2NUM(-36000));
4202
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("hdt"), LONG2NUM(-32400));
4203
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("hst"), LONG2NUM(-36000));
4204
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("i"), LONG2NUM(32400));
4205
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("idle"), LONG2NUM(43200));
4206
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("idlw"), LONG2NUM(-43200));
4207
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("india"), LONG2NUM(19800));
4208
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("iran"), LONG2NUM(12600));
4209
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ist"), LONG2NUM(19800));
4210
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("jerusalem"), LONG2NUM(7200));
4211
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("jst"), LONG2NUM(32400));
4212
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("k"), LONG2NUM(36000));
4213
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("korea"), LONG2NUM(32400));
4214
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("kst"), LONG2NUM(32400));
4215
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("l"), LONG2NUM(39600));
4216
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("m"), LONG2NUM(43200));
4217
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("malay peninsula"), LONG2NUM(28800));
4218
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mdt"), LONG2NUM(-21600));
4219
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mest"), LONG2NUM(7200));
4220
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mesz"), LONG2NUM(7200));
4221
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("met"), LONG2NUM(3600));
4222
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mewt"), LONG2NUM(3600));
4223
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mexico"), LONG2NUM(-21600));
4224
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mez"), LONG2NUM(3600));
4225
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mid-atlantic"), LONG2NUM(-7200));
4226
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mountain"), LONG2NUM(-25200));
4227
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("msd"), LONG2NUM(14400));
4228
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("msk"), LONG2NUM(10800));
4229
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("mst"), LONG2NUM(-25200));
4230
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("myanmar"), LONG2NUM(23400));
4231
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("n"), LONG2NUM(-3600));
4232
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("n. central asia"), LONG2NUM(21600));
4233
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ndt"), LONG2NUM(-9000));
4234
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("nepal"), LONG2NUM(20700));
4235
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("new zealand"), LONG2NUM(43200));
4236
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("newfoundland"), LONG2NUM(-12600));
4237
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("north asia"), LONG2NUM(25200));
4238
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("north asia east"), LONG2NUM(28800));
4239
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("nst"), LONG2NUM(-12600));
4240
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("nt"), LONG2NUM(-39600));
4241
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("nzdt"), LONG2NUM(46800));
4242
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("nzst"), LONG2NUM(43200));
4243
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("nzt"), LONG2NUM(43200));
4244
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("o"), LONG2NUM(-7200));
4245
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("p"), LONG2NUM(-10800));
4246
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("pacific"), LONG2NUM(-28800));
4247
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("pacific sa"), LONG2NUM(-14400));
4248
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("pdt"), LONG2NUM(-25200));
4249
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("pst"), LONG2NUM(-28800));
4250
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("q"), LONG2NUM(-14400));
4251
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("r"), LONG2NUM(-18000));
4252
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("romance"), LONG2NUM(3600));
4253
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("russian"), LONG2NUM(10800));
4254
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("s"), LONG2NUM(-21600));
4255
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sa eastern"), LONG2NUM(-10800));
4256
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sa pacific"), LONG2NUM(-18000));
4257
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sa western"), LONG2NUM(-14400));
4258
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("samoa"), LONG2NUM(-39600));
4259
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sast"), LONG2NUM(7200));
4260
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("se asia"), LONG2NUM(25200));
4261
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sgt"), LONG2NUM(28800));
4262
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("south africa"), LONG2NUM(7200));
4263
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sri lanka"), LONG2NUM(21600));
4264
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("sst"), LONG2NUM(7200));
4265
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("swt"), LONG2NUM(3600));
4266
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("t"), LONG2NUM(-25200));
4267
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("taipei"), LONG2NUM(28800));
4268
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("tasmania"), LONG2NUM(36000));
4269
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("tokyo"), LONG2NUM(32400));
4270
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("tonga"), LONG2NUM(46800));
4271
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("u"), LONG2NUM(-28800));
4272
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("us eastern"), LONG2NUM(-18000));
4273
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("us mountain"), LONG2NUM(-25200));
4274
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ut"), LONG2NUM(0));
4275
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("utc"), LONG2NUM(0));
4276
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("v"), LONG2NUM(-32400));
4277
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("vladivostok"), LONG2NUM(36000));
4278
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("w"), LONG2NUM(-36000));
4279
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("w. australia"), LONG2NUM(28800));
4280
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("w. central africa"), LONG2NUM(3600));
4281
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("w. europe"), LONG2NUM(3600));
4282
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("wadt"), LONG2NUM(28800));
4283
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("wast"), LONG2NUM(25200));
4284
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("wat"), LONG2NUM(3600));
4285
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("west"), LONG2NUM(3600));
4286
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("west asia"), LONG2NUM(18000));
4287
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("west pacific"), LONG2NUM(36000));
4288
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("wet"), LONG2NUM(0));
4289
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("x"), LONG2NUM(-39600));
4290
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("y"), LONG2NUM(-43200));
4291
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("yakutsk"), LONG2NUM(32400));
4292
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("ydt"), LONG2NUM(-28800));
4293
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("yst"), LONG2NUM(-32400));
4294
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("z"), LONG2NUM(0));
4295
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("zp4"), LONG2NUM(14400));
4296
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("zp5"), LONG2NUM(18000));
4297
- rb_hash_aset(rhrd_zones_hash, rb_str_new2("zp6"), LONG2NUM(21600));
4129
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("a"), INT2FIX(3600));
4130
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("adt"), INT2FIX(-10800));
4131
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("afghanistan"), INT2FIX(16200));
4132
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ahst"), INT2FIX(-36000));
4133
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("akdt"), INT2FIX(-28800));
4134
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("akst"), INT2FIX(-32400));
4135
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("alaskan"), INT2FIX(-32400));
4136
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("arab"), INT2FIX(10800));
4137
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("arabian"), INT2FIX(14400));
4138
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("arabic"), INT2FIX(10800));
4139
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("art"), INT2FIX(-10800));
4140
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ast"), INT2FIX(-14400));
4141
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("at"), INT2FIX(-7200));
4142
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("atlantic"), INT2FIX(-14400));
4143
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("aus central"), INT2FIX(34200));
4144
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("aus eastern"), INT2FIX(36000));
4145
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("azores"), INT2FIX(-3600));
4146
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("b"), INT2FIX(7200));
4147
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("brst"), INT2FIX(-7200));
4148
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("brt"), INT2FIX(-10800));
4149
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("bst"), INT2FIX(3600));
4150
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("bt"), INT2FIX(10800));
4151
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("c"), INT2FIX(10800));
4152
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("canada central"), INT2FIX(-21600));
4153
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cape verde"), INT2FIX(-3600));
4154
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cat"), INT2FIX(-36000));
4155
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("caucasus"), INT2FIX(14400));
4156
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cct"), INT2FIX(28800));
4157
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cdt"), INT2FIX(-18000));
4158
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cen. australia"), INT2FIX(34200));
4159
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("central"), INT2FIX(-21600));
4160
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("central america"), INT2FIX(-21600));
4161
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("central asia"), INT2FIX(21600));
4162
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("central europe"), INT2FIX(3600));
4163
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("central european"), INT2FIX(3600));
4164
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("central pacific"), INT2FIX(39600));
4165
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cest"), INT2FIX(7200));
4166
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cet"), INT2FIX(3600));
4167
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("china"), INT2FIX(28800));
4168
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("clst"), INT2FIX(-10800));
4169
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("clt"), INT2FIX(-14400));
4170
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("cst"), INT2FIX(-21600));
4171
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("d"), INT2FIX(14400));
4172
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("dateline"), INT2FIX(-43200));
4173
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("e"), INT2FIX(18000));
4174
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. africa"), INT2FIX(10800));
4175
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. australia"), INT2FIX(36000));
4176
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. europe"), INT2FIX(7200));
4177
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("e. south america"), INT2FIX(-10800));
4178
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("eadt"), INT2FIX(39600));
4179
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("east"), INT2FIX(36000));
4180
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("eastern"), INT2FIX(-18000));
4181
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("eat"), INT2FIX(10800));
4182
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("edt"), INT2FIX(-14400));
4183
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("eest"), INT2FIX(10800));
4184
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("eet"), INT2FIX(7200));
4185
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("egypt"), INT2FIX(7200));
4186
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ekaterinburg"), INT2FIX(18000));
4187
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("est"), INT2FIX(-18000));
4188
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("f"), INT2FIX(21600));
4189
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("fiji"), INT2FIX(43200));
4190
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("fle"), INT2FIX(7200));
4191
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("fst"), INT2FIX(7200));
4192
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("fwt"), INT2FIX(3600));
4193
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("g"), INT2FIX(25200));
4194
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("gmt"), INT2FIX(0));
4195
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("greenland"), INT2FIX(-10800));
4196
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("greenwich"), INT2FIX(0));
4197
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("gst"), INT2FIX(36000));
4198
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("gtb"), INT2FIX(7200));
4199
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("h"), INT2FIX(28800));
4200
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("hadt"), INT2FIX(-32400));
4201
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("hast"), INT2FIX(-36000));
4202
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("hawaiian"), INT2FIX(-36000));
4203
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("hdt"), INT2FIX(-32400));
4204
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("hst"), INT2FIX(-36000));
4205
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("i"), INT2FIX(32400));
4206
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("idle"), INT2FIX(43200));
4207
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("idlw"), INT2FIX(-43200));
4208
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("india"), INT2FIX(19800));
4209
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("iran"), INT2FIX(12600));
4210
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ist"), INT2FIX(19800));
4211
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("jerusalem"), INT2FIX(7200));
4212
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("jst"), INT2FIX(32400));
4213
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("k"), INT2FIX(36000));
4214
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("korea"), INT2FIX(32400));
4215
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("kst"), INT2FIX(32400));
4216
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("l"), INT2FIX(39600));
4217
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("m"), INT2FIX(43200));
4218
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("malay peninsula"), INT2FIX(28800));
4219
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mdt"), INT2FIX(-21600));
4220
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mest"), INT2FIX(7200));
4221
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mesz"), INT2FIX(7200));
4222
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("met"), INT2FIX(3600));
4223
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mewt"), INT2FIX(3600));
4224
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mexico"), INT2FIX(-21600));
4225
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mez"), INT2FIX(3600));
4226
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mid-atlantic"), INT2FIX(-7200));
4227
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mountain"), INT2FIX(-25200));
4228
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("msd"), INT2FIX(14400));
4229
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("msk"), INT2FIX(10800));
4230
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("mst"), INT2FIX(-25200));
4231
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("myanmar"), INT2FIX(23400));
4232
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("n"), INT2FIX(-3600));
4233
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("n. central asia"), INT2FIX(21600));
4234
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ndt"), INT2FIX(-9000));
4235
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("nepal"), INT2FIX(20700));
4236
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("new zealand"), INT2FIX(43200));
4237
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("newfoundland"), INT2FIX(-12600));
4238
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("north asia"), INT2FIX(25200));
4239
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("north asia east"), INT2FIX(28800));
4240
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("nst"), INT2FIX(-12600));
4241
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("nt"), INT2FIX(-39600));
4242
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("nzdt"), INT2FIX(46800));
4243
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("nzst"), INT2FIX(43200));
4244
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("nzt"), INT2FIX(43200));
4245
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("o"), INT2FIX(-7200));
4246
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("p"), INT2FIX(-10800));
4247
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("pacific"), INT2FIX(-28800));
4248
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("pacific sa"), INT2FIX(-14400));
4249
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("pdt"), INT2FIX(-25200));
4250
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("pst"), INT2FIX(-28800));
4251
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("q"), INT2FIX(-14400));
4252
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("r"), INT2FIX(-18000));
4253
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("romance"), INT2FIX(3600));
4254
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("russian"), INT2FIX(10800));
4255
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("s"), INT2FIX(-21600));
4256
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sa eastern"), INT2FIX(-10800));
4257
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sa pacific"), INT2FIX(-18000));
4258
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sa western"), INT2FIX(-14400));
4259
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("samoa"), INT2FIX(-39600));
4260
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sast"), INT2FIX(7200));
4261
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("se asia"), INT2FIX(25200));
4262
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sgt"), INT2FIX(28800));
4263
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("south africa"), INT2FIX(7200));
4264
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sri lanka"), INT2FIX(21600));
4265
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("sst"), INT2FIX(7200));
4266
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("swt"), INT2FIX(3600));
4267
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("t"), INT2FIX(-25200));
4268
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("taipei"), INT2FIX(28800));
4269
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("tasmania"), INT2FIX(36000));
4270
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("tokyo"), INT2FIX(32400));
4271
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("tonga"), INT2FIX(46800));
4272
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("u"), INT2FIX(-28800));
4273
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("us eastern"), INT2FIX(-18000));
4274
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("us mountain"), INT2FIX(-25200));
4275
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ut"), INT2FIX(0));
4276
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("utc"), INT2FIX(0));
4277
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("v"), INT2FIX(-32400));
4278
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("vladivostok"), INT2FIX(36000));
4279
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("w"), INT2FIX(-36000));
4280
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("w. australia"), INT2FIX(28800));
4281
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("w. central africa"), INT2FIX(3600));
4282
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("w. europe"), INT2FIX(3600));
4283
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("wadt"), INT2FIX(28800));
4284
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("wast"), INT2FIX(25200));
4285
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("wat"), INT2FIX(3600));
4286
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("west"), INT2FIX(3600));
4287
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("west asia"), INT2FIX(18000));
4288
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("west pacific"), INT2FIX(36000));
4289
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("wet"), INT2FIX(0));
4290
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("x"), INT2FIX(-39600));
4291
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("y"), INT2FIX(-43200));
4292
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("yakutsk"), INT2FIX(32400));
4293
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("ydt"), INT2FIX(-28800));
4294
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("yst"), INT2FIX(-32400));
4295
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("z"), INT2FIX(0));
4296
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("zp4"), INT2FIX(14400));
4297
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("zp5"), INT2FIX(18000));
4298
+ rb_hash_aset(rhrd_zones_hash, rb_str_new2("zp6"), INT2FIX(21600));
4298
4299
 
4299
4300
  rhrd_start_num = LONG2NUM(RHR_JD_MIN - 1);
4300
4301
  rhrd_empty_string = rb_str_new("", 0);