Author: benm
Date: 2005-04-16 15:26:15 -0400 (Sat, 16 Apr 2005)
New Revision: 43124
Modified:
trunk/mcs/class/corlib/Test/System/ChangeLog
trunk/mcs/class/corlib/Test/System/DateTimeTest.cs
Log:
2005-04-16 Ben Maurer <[EMAIL PROTECTED]>
* DateTimeTest.cs: Remove tests that fail durring DST.
Modified: trunk/mcs/class/corlib/Test/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System/ChangeLog 2005-04-16 19:09:56 UTC
(rev 43123)
+++ trunk/mcs/class/corlib/Test/System/ChangeLog 2005-04-16 19:26:15 UTC
(rev 43124)
@@ -1,3 +1,7 @@
+2005-04-16 Ben Maurer <[EMAIL PROTECTED]>
+
+ * DateTimeTest.cs: Remove tests that fail durring DST.
+
2005-04-05 Sebastien Pouliot <[EMAIL PROTECTED]>
* AppDomainCas.cs: New. Permission (CAS) unit tests for AppDomain.
Modified: trunk/mcs/class/corlib/Test/System/DateTimeTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System/DateTimeTest.cs 2005-04-16 19:09:56 UTC
(rev 43123)
+++ trunk/mcs/class/corlib/Test/System/DateTimeTest.cs 2005-04-16 19:26:15 UTC
(rev 43124)
@@ -479,14 +479,16 @@
t1 = DateTime.ParseExact ("15", "HH", null);
AssertEquals ("E16", t2.Ticks, t1.Ticks);
- // Time zones
+ // Time zones
+#if false
+ // Fails durring DST for msft and mono
t2 = DateTime.Today + new TimeSpan (17, 18, 0);
t1 = DateTime.ParseExact ("11:18AM -5", "h:mmtt z", null);
t1 = TimeZone.CurrentTimeZone.ToUniversalTime(t1);
if (!TimeZone.CurrentTimeZone.IsDaylightSavingTime(t1))
t1 += new TimeSpan(1, 0, 0);
- AssertEquals ("F01", t2.Ticks, t1.Ticks);
-
+ AssertEquals ("F01", t2.Ticks, t1.Ticks);
+
t1 = DateTime.ParseExact ("11:18AM -05:00", "h:mmtt zzz", null);
t1 = TimeZone.CurrentTimeZone.ToUniversalTime(t1);
if (!TimeZone.CurrentTimeZone.IsDaylightSavingTime(t1))
@@ -504,7 +506,8 @@
if (!TimeZone.CurrentTimeZone.IsDaylightSavingTime(t1))
t1 += new TimeSpan(1, 0, 0);
AssertEquals ("F04", t2.Ticks, t1.Ticks);
-
+#endif
+
// Options
t2 = DateTime.Today + new TimeSpan (16, 18, 0);
t1 = DateTime.ParseExact ("11:18AM -5", "h:mmtt z",
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches