]> granicus.if.org Git - php/commitdiff
Have test for add/sub/diff one second during ST/DST transition in spring.
authorDaniel Convissor <danielc@php.net>
Thu, 21 Jul 2011 15:35:06 +0000 (15:35 +0000)
committerDaniel Convissor <danielc@php.net>
Thu, 21 Jul 2011 15:35:06 +0000 (15:35 +0000)
20 files changed:
ext/date/tests/DateTime_add-spring-type2-type2.phpt
ext/date/tests/DateTime_add-spring-type2-type3.phpt
ext/date/tests/DateTime_add-spring-type3-type2.phpt
ext/date/tests/DateTime_add-spring-type3-type3.phpt
ext/date/tests/DateTime_data-spring-type2-type2.inc
ext/date/tests/DateTime_data-spring-type2-type3.inc
ext/date/tests/DateTime_data-spring-type3-type2.inc
ext/date/tests/DateTime_data-spring-type3-type3.inc
ext/date/tests/DateTime_days-spring-type2-type2.phpt
ext/date/tests/DateTime_days-spring-type2-type3.phpt
ext/date/tests/DateTime_days-spring-type3-type2.phpt
ext/date/tests/DateTime_days-spring-type3-type3.phpt
ext/date/tests/DateTime_diff-spring-type2-type2.phpt
ext/date/tests/DateTime_diff-spring-type2-type3.phpt
ext/date/tests/DateTime_diff-spring-type3-type2.phpt
ext/date/tests/DateTime_diff-spring-type3-type3.phpt
ext/date/tests/DateTime_sub-spring-type2-type2.phpt
ext/date/tests/DateTime_sub-spring-type2-type3.phpt
ext/date/tests/DateTime_sub-spring-type3-type2.phpt
ext/date/tests/DateTime_sub-spring-type3-type3.phpt

index 8cf898138d3902edefe70a59c291ff7a60c01931..b64c274766b9c64be04c04596cbd164022ce5aab 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type2_post_type2_prev: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M2DT
 test_time_spring_type2_post_type2_st: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT18H49M39S = **2010-03-14 00:10:20 EST**
 test_time_spring_type2_post_type2_dt: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT16H43M4S = **2010-03-14 03:16:55 EDT**
 test_time_spring_type2_post_type2_post: ADD: 2010-03-15 18:57:55 EDT + P+0Y0M0DT1H2M4S = **2010-03-15 19:59:59 EDT**
+test_time_spring_type2_stsec_type2_dtsec: ADD: 2010-03-13 01:59:59 EST + P+0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
+test_time_spring_type2_dtsec_type2_stsec: ADD: 2010-03-15 03:00:00 EDT + P-0Y0M0DT0H0M1S = **2010-03-15 01:59:59 EST** 
index 45c43597c0047d04b7ce174cea95fe8725abd41f..5544651f29c0824460e8ab685f6bbd818bb4eb50 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type2_post_type3_prev: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M2DT
 test_time_spring_type2_post_type3_st: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT18H49M39S = **2010-03-14 00:10:20 EST**
 test_time_spring_type2_post_type3_dt: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT16H43M4S = **2010-03-14 03:16:55 EDT**
 test_time_spring_type2_post_type3_post: ADD: 2010-03-15 18:57:55 EDT + P+0Y0M0DT1H2M4S = **2010-03-15 19:59:59 EDT**
+test_time_spring_type2_stsec_type3_dtsec: ADD: 2010-03-13 01:59:59 EST + P+0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
+test_time_spring_type2_dtsec_type3_stsec: ADD: 2010-03-15 03:00:00 EDT + P-0Y0M0DT0H0M1S = **2010-03-15 01:59:59 EST**
index 261bf4e0ab11f2779a238240b12b435a5850b47e..fe75a5c26dba7fc251096cd49c683a8eebf62b31 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type3_post_type2_prev: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M2DT
 test_time_spring_type3_post_type2_st: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT18H49M39S = **2010-03-14 00:10:20 EST**
 test_time_spring_type3_post_type2_dt: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT16H43M4S = **2010-03-14 03:16:55 EDT**
 test_time_spring_type3_post_type2_post: ADD: 2010-03-15 18:57:55 EDT + P+0Y0M0DT1H2M4S = **2010-03-15 19:59:59 EDT**
+test_time_spring_type3_stsec_type2_dtsec: ADD: 2010-03-13 01:59:59 EST + P+0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
+test_time_spring_type3_dtsec_type2_stsec: ADD: 2010-03-15 03:00:00 EDT + P-0Y0M0DT0H0M1S = **2010-03-15 01:59:59 EST**
index 17c371078d04af08a8b528892ae049c62e443385..b2a5c3e817328eadcd4e8fbb08db9fc82e4e0410 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type3_post_type3_prev: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M2DT
 test_time_spring_type3_post_type3_st: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT18H49M39S = **2010-03-14 00:10:20 EST**
 test_time_spring_type3_post_type3_dt: ADD: 2010-03-15 19:59:59 EDT + P-0Y0M1DT16H43M4S = **2010-03-14 03:16:55 EDT**
 test_time_spring_type3_post_type3_post: ADD: 2010-03-15 18:57:55 EDT + P+0Y0M0DT1H2M4S = **2010-03-15 19:59:59 EDT**
+test_time_spring_type3_stsec_type3_dtsec: ADD: 2010-03-13 01:59:59 EST + P+0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
+test_time_spring_type3_dtsec_type3_stsec: ADD: 2010-03-15 03:00:00 EDT + P-0Y0M0DT0H0M1S = **2010-03-15 01:59:59 EST**
index 353d701f3eebbfe4f14a9713420a0b2f56ccc0be..3556b207b382a55105b0fe8509554157be2d1518 100644 (file)
@@ -15,6 +15,8 @@ date_default_timezone_set('America/New_York');
  * + st: standard time on transition day      2010-03-14 00:10:20 EST
  * + dt: daylight time on the transition day  2010-03-14 03:16:55 EDT
  * + post: the day after the transition day   2010-03-15 19:59:59 EDT
+ * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
+ * + dtsec: daylight time first second        2010-03-14 03:00:00 EDT
  */
 echo "test_time_spring_type2_prev_type2_prev: ";
 $end   = new DateTime('2010-03-13 18:38:28 EST');  // prev, zt2
@@ -95,3 +97,13 @@ echo "test_time_spring_type2_post_type2_post: ";
 $end   = new DateTime('2010-03-15 19:59:59 EDT');  // post, zt2
 $start = new DateTime('2010-03-15 18:57:55 EDT');  // sp post, zt2
 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0);
+
+echo "test_time_spring_type2_stsec_type2_dtsec: ";
+$end   = new DateTime('2010-03-15 03:00:00 EDT');  // dtsec, zt2
+$start = new DateTime('2010-03-13 01:59:59 EST');  // stsec, zt2
+examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0);
+
+echo "test_time_spring_type2_dtsec_type2_stsec: ";
+$end   = new DateTime('2010-03-15 01:59:59 EST');  // stsec, zt2
+$start = new DateTime('2010-03-13 03:00:00 EDT');  // dtsec, zt2
+examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0);
index 11e960620de16c5a46d061c0953a6f9e98897118..b06825837c71c6991c7df5355f292502cf8ba371 100644 (file)
@@ -15,6 +15,8 @@ date_default_timezone_set('America/New_York');
  * + st: standard time on transition day      2010-03-14 00:10:20 EST
  * + dt: daylight time on the transition day  2010-03-14 03:16:55 EDT
  * + post: the day after the transition day   2010-03-15 19:59:59 EDT
+ * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
+ * + dtsec: daylight time first second        2010-03-14 03:00:00 EDT
  */
 echo "test_time_spring_type2_prev_type3_prev: ";
 $end   = new DateTime('2010-03-13 18:38:28');  // prev, zt3
@@ -95,3 +97,13 @@ echo "test_time_spring_type2_post_type3_post: ";
 $end   = new DateTime('2010-03-15 19:59:59');  // post, zt3
 $start = new DateTime('2010-03-15 18:57:55 EDT');  // sp post, zt2
 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0);
+
+echo "test_time_spring_type2_stsec_type3_dtsec: ";
+$end   = new DateTime('2010-03-15 03:00:00');  // dtsec, zt3
+$start = new DateTime('2010-03-13 01:59:59 EST');  // stsec, zt2
+examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0);
+
+echo "test_time_spring_type2_dtsec_type3_stsec: ";
+$end   = new DateTime('2010-03-15 01:59:59');  // stsec, zt3
+$start = new DateTime('2010-03-13 03:00:00 EDT');  // dtsec, zt2
+examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0);
index 7cd2b703688d1829aa0786688541fc291abe29be..244cd58819e29877adc554a8259749efddbce9c1 100644 (file)
@@ -15,6 +15,8 @@ date_default_timezone_set('America/New_York');
  * + st: standard time on transition day      2010-03-14 00:10:20 EST
  * + dt: daylight time on the transition day  2010-03-14 03:16:55 EDT
  * + post: the day after the transition day   2010-03-15 19:59:59 EDT
+ * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
+ * + dtsec: daylight time first second        2010-03-14 03:00:00 EDT
  */
 echo "test_time_spring_type3_prev_type2_prev: ";
 $end   = new DateTime('2010-03-13 18:38:28 EST');  // prev, zt2
@@ -95,3 +97,13 @@ echo "test_time_spring_type3_post_type2_post: ";
 $end   = new DateTime('2010-03-15 19:59:59 EDT');  // post, zt2
 $start = new DateTime('2010-03-15 18:57:55');  // sp post, zt3
 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0);
+
+echo "test_time_spring_type3_stsec_type2_dtsec: ";
+$end   = new DateTime('2010-03-15 03:00:00 EDT');  // dtsec, zt2
+$start = new DateTime('2010-03-13 01:59:59');  // stsec, zt3
+examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0);
+
+echo "test_time_spring_type3_dtsec_type2_stsec: ";
+$end   = new DateTime('2010-03-15 01:59:59 EST');  // stsec, zt2
+$start = new DateTime('2010-03-13 03:00:00');  // dtsec, zt3
+examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0);
index 5c5d5ffba4479385ffa39f204c86fa082508f429..d87373c5a4b408073b6b82a4e9c0cd622cd62dd3 100644 (file)
@@ -15,6 +15,8 @@ date_default_timezone_set('America/New_York');
  * + st: standard time on transition day      2010-03-14 00:10:20
  * + dt: daylight time on the transition day  2010-03-14 03:16:55
  * + post: the day after the transition day   2010-03-15 19:59:59
+ * + stsec: standard time 1 sec before change 2010-03-14 01:59:59
+ * + dtsec: daylight time first second        2010-03-14 03:00:00
  */
 echo "test_time_spring_type3_prev_type3_prev: ";
 $end   = new DateTime('2010-03-13 18:38:28');  // prev, zt3
@@ -95,3 +97,13 @@ echo "test_time_spring_type3_post_type3_post: ";
 $end   = new DateTime('2010-03-15 19:59:59');  // post, zt3
 $start = new DateTime('2010-03-15 18:57:55');  // sp post, zt3
 examine_diff($end, $start, 'P+0Y0M0DT1H2M4S', 0);
+
+echo "test_time_spring_type3_stsec_type3_dtsec: ";
+$end   = new DateTime('2010-03-15 03:00:00');  // dtsec, zt3
+$start = new DateTime('2010-03-13 01:59:59');  // stsec, zt3
+examine_diff($end, $start, 'P+0Y0M0DT0H0M1S', 0);
+
+echo "test_time_spring_type3_dtsec_type3_stsec: ";
+$end   = new DateTime('2010-03-15 01:59:59');  // stsec, zt3
+$start = new DateTime('2010-03-13 03:00:00');  // dtsec, zt3
+examine_diff($end, $start, 'P-0Y0M0DT0H0M1S', 0);
index ead12e0e6e90973a232265342dabb1c04a6b5e66..3f9c353523ae77890bc26de2d21c09bf6ca2b0ba 100644 (file)
@@ -27,3 +27,5 @@ test_time_spring_type2_post_type2_prev: DAYS: **2**
 test_time_spring_type2_post_type2_st: DAYS: **1**
 test_time_spring_type2_post_type2_dt: DAYS: **1**
 test_time_spring_type2_post_type2_post: DAYS: **0**
+test_time_spring_type2_stsec_type2_dtsec: DAYS: **0** 
+test_time_spring_type2_dtsec_type2_stsec: DAYS: **0**
index bed7ac8f469ec7966181d44517c6e7f13de71cee..77ac5fdb6daf5c8050c07b48f161c0b361e01e90 100644 (file)
@@ -27,3 +27,5 @@ test_time_spring_type2_post_type3_prev: DAYS: **2**
 test_time_spring_type2_post_type3_st: DAYS: **1**
 test_time_spring_type2_post_type3_dt: DAYS: **1**
 test_time_spring_type2_post_type3_post: DAYS: **0**
+test_time_spring_type2_stsec_type3_dtsec: DAYS: **0** 
+test_time_spring_type2_dtsec_type3_stsec: DAYS: **0**
index 782dee567d08a67610bdab102b0fb9d81208e763..09aa8d9c1d7af421bededfd0647ff259dae1292b 100644 (file)
@@ -27,3 +27,5 @@ test_time_spring_type3_post_type2_prev: DAYS: **2**
 test_time_spring_type3_post_type2_st: DAYS: **1**
 test_time_spring_type3_post_type2_dt: DAYS: **1**
 test_time_spring_type3_post_type2_post: DAYS: **0**
+test_time_spring_type3_stsec_type2_dtsec: DAYS: **0** 
+test_time_spring_type3_dtsec_type2_stsec: DAYS: **0**
index 4b8e8c0d9c374bf8ba3bb02c1138525158c7cd90..f947329dea9b3b215675ff2815a18d976d7819e6 100644 (file)
@@ -27,3 +27,5 @@ test_time_spring_type3_post_type3_prev: DAYS: **2**
 test_time_spring_type3_post_type3_st: DAYS: **1**
 test_time_spring_type3_post_type3_dt: DAYS: **1**
 test_time_spring_type3_post_type3_post: DAYS: **0**
+test_time_spring_type3_stsec_type3_dtsec: DAYS: **0** 
+test_time_spring_type3_dtsec_type3_stsec: DAYS: **0**
index 7e9d5a5e717394666d949685e99a869a92f031a4..4c590cd998af43f63970125c2116b613bbdad584 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type2_post_type2_prev: DIFF: 2010-03-13 18:38:28 EST - 2010-03-
 test_time_spring_type2_post_type2_st: DIFF: 2010-03-14 00:10:20 EST - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT18H49M39S**
 test_time_spring_type2_post_type2_dt: DIFF: 2010-03-14 03:16:55 EDT - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT16H43M4S**
 test_time_spring_type2_post_type2_post: DIFF: 2010-03-15 19:59:59 EDT - 2010-03-15 18:57:55 EDT = **P+0Y0M0DT1H2M4S**
+test_time_spring_type2_stsec_type2_dtsec: DIFF: 2010-03-15 03:00:00 EDT - 2010-03-13 01:59:59 EST = **P+0Y0M0DT0H0M1S**
+test_time_spring_type2_dtsec_type2_stsec: DIFF: 2010-03-15 01:59:59 EST - 2010-03-15 03:00:00 EDT = **P-0Y0M0DT0H0M1S**
index 0c19782ed76e1544aceb149be9b19f02caff72bd..98dcf7968268bd7fd0d69957c271bc2c02c50d4b 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type2_post_type3_prev: DIFF: 2010-03-13 18:38:28 EST - 2010-03-
 test_time_spring_type2_post_type3_st: DIFF: 2010-03-14 00:10:20 EST - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT18H49M39S**
 test_time_spring_type2_post_type3_dt: DIFF: 2010-03-14 03:16:55 EDT - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT16H43M4S**
 test_time_spring_type2_post_type3_post: DIFF: 2010-03-15 19:59:59 EDT - 2010-03-15 18:57:55 EDT = **P+0Y0M0DT1H2M4S**
+test_time_spring_type2_stsec_type3_dtsec: DIFF: 2010-03-15 03:00:00 EDT - 2010-03-13 01:59:59 EST = **P+0Y0M0DT0H0M1S**
+test_time_spring_type2_dtsec_type3_stsec: DIFF: 2010-03-15 01:59:59 EST - 2010-03-15 03:00:00 EDT = **P-0Y0M0DT0H0M1S**
index f2a31c1780ca63a0af4ea80e49ff14e1b2c6319b..5a59f78df2271176968e3ed2edeb7f841e277941 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type3_post_type2_prev: DIFF: 2010-03-13 18:38:28 EST - 2010-03-
 test_time_spring_type3_post_type2_st: DIFF: 2010-03-14 00:10:20 EST - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT18H49M39S**
 test_time_spring_type3_post_type2_dt: DIFF: 2010-03-14 03:16:55 EDT - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT16H43M4S**
 test_time_spring_type3_post_type2_post: DIFF: 2010-03-15 19:59:59 EDT - 2010-03-15 18:57:55 EDT = **P+0Y0M0DT1H2M4S**
+test_time_spring_type3_stsec_type2_dtsec: DIFF: 2010-03-15 03:00:00 EDT - 2010-03-13 01:59:59 EST = **P+0Y0M0DT0H0M1S**
+test_time_spring_type3_dtsec_type2_stsec: DIFF: 2010-03-15 01:59:59 EST - 2010-03-15 03:00:00 EDT = **P-0Y0M0DT0H0M1S**
index 5f5c3d5b3efc271eddd5a8992a536d9bc2cd073b..926f299e03f678a03af94828d9335e78d163beb8 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type3_post_type3_prev: DIFF: 2010-03-13 18:38:28 EST - 2010-03-
 test_time_spring_type3_post_type3_st: DIFF: 2010-03-14 00:10:20 EST - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT18H49M39S**
 test_time_spring_type3_post_type3_dt: DIFF: 2010-03-14 03:16:55 EDT - 2010-03-15 19:59:59 EDT = **P-0Y0M1DT16H43M4S**
 test_time_spring_type3_post_type3_post: DIFF: 2010-03-15 19:59:59 EDT - 2010-03-15 18:57:55 EDT = **P+0Y0M0DT1H2M4S**
+test_time_spring_type3_stsec_type2_dtsec: DIFF: 2010-03-15 03:00:00 EDT - 2010-03-13 01:59:59 EST = **P+0Y0M0DT0H0M1S**
+test_time_spring_type3_dtsec_type2_stsec: DIFF: 2010-03-15 01:59:59 EST - 2010-03-15 03:00:00 EDT = **P-0Y0M0DT0H0M1S**
index 55eb45c024d2dd6dc5d3eb986f9c419a6df583be..2b1817d79b3b8c2af9361cf2418bed31b943aa45 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type2_post_type2_prev: SUB: 2010-03-13 18:38:28 EST - P-0Y0M2DT
 test_time_spring_type2_post_type2_st: SUB: 2010-03-14 00:10:20 EST - P-0Y0M1DT18H49M39S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type2_post_type2_dt: SUB: 2010-03-14 03:16:55 EDT - P-0Y0M1DT16H43M4S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type2_post_type2_post: SUB: 2010-03-15 19:59:59 EDT - P+0Y0M0DT1H2M4S = **2010-03-15 18:57:55 EDT**
+test_time_spring_type2_stsec_type2_dtsec: SUB: 2010-03-15 03:00:00 EDT - P+0Y0M0DT0H0M1S = **2010-03-13 01:59:59 EST**
+test_time_spring_type2_dtsec_type2_stsec: SUB: 2010-03-15 01:59:59 EST - P-0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
index f41586cc2fb4b0ef8dc92d110f0387be69fe9cfb..a5c43df911c7a057dcbad03ef1ae5b18528ddd41 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type2_post_type3_prev: SUB: 2010-03-13 18:38:28 EST - P-0Y0M2DT
 test_time_spring_type2_post_type3_st: SUB: 2010-03-14 00:10:20 EST - P-0Y0M1DT18H49M39S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type2_post_type3_dt: SUB: 2010-03-14 03:16:55 EDT - P-0Y0M1DT16H43M4S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type2_post_type3_post: SUB: 2010-03-15 19:59:59 EDT - P+0Y0M0DT1H2M4S = **2010-03-15 18:57:55 EDT**
+test_time_spring_type2_stsec_type3_dtsec: SUB: 2010-03-15 03:00:00 EDT - P+0Y0M0DT0H0M1S = **2010-03-13 01:59:59 EST**
+test_time_spring_type2_dtsec_type3_stsec: SUB: 2010-03-15 01:59:59 EST - P-0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
index 234940d351359d67093504889f0d9c6c086fbaba..bcbbe25c7941190d5caac98c60e52efeacc0f6ad 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type3_post_type2_prev: SUB: 2010-03-13 18:38:28 EST - P-0Y0M2DT
 test_time_spring_type3_post_type2_st: SUB: 2010-03-14 00:10:20 EST - P-0Y0M1DT18H49M39S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type3_post_type2_dt: SUB: 2010-03-14 03:16:55 EDT - P-0Y0M1DT16H43M4S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type3_post_type2_post: SUB: 2010-03-15 19:59:59 EDT - P+0Y0M0DT1H2M4S = **2010-03-15 18:57:55 EDT**
+test_time_spring_type3_stsec_type2_dtsec: SUB: 2010-03-15 03:00:00 EDT - P+0Y0M0DT0H0M1S = **2010-03-13 01:59:59 EST**
+test_time_spring_type3_dtsec_type2_stsec: SUB: 2010-03-15 01:59:59 EST - P-0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**
index 73d9e27489c91b0732258491cacdb91e0263ef09..2ed190f744d4ff7b215a0ba1accefb06662d0229 100644 (file)
@@ -29,3 +29,5 @@ test_time_spring_type3_post_type3_prev: SUB: 2010-03-13 18:38:28 EST - P-0Y0M2DT
 test_time_spring_type3_post_type3_st: SUB: 2010-03-14 00:10:20 EST - P-0Y0M1DT18H49M39S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type3_post_type3_dt: SUB: 2010-03-14 03:16:55 EDT - P-0Y0M1DT16H43M4S = **2010-03-15 19:59:59 EDT**
 test_time_spring_type3_post_type3_post: SUB: 2010-03-15 19:59:59 EDT - P+0Y0M0DT1H2M4S = **2010-03-15 18:57:55 EDT**
+test_time_spring_type3_stsec_type3_dtsec: SUB: 2010-03-15 03:00:00 EDT - P+0Y0M0DT0H0M1S = **2010-03-13 01:59:59 EST**
+test_time_spring_type3_dtsec_type3_stsec: SUB: 2010-03-15 01:59:59 EST - P-0Y0M0DT0H0M1S = **2010-03-15 03:00:00 EDT**