[Mono-bugs] [Bug 399389] DateTime.AddMilliseconds should round to nearest integer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 15:04:22 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=399389

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=399389#c4





--- Comment #4 from Gert Driesen <gert.driesen at pandora.be>  2009-02-11 13:04:21 MST ---
Hmm, they work fine on both .NET 1.1 and 2.0.

The DateTime tests that fail on .NET 1.1 SP1 are:

1) MonoTests.System.DateTimeTest.Bug377042 : System.FormatException : String
was
 not recognized as a valid DateTime.
   at System.DateTime.ParseExact(String s, String[] formats, IFormatProvider
pro
vider, DateTimeStyles style)
   at MonoTests.System.DateTimeTest.Bug377042() in
d:\Development\Projects\mono\
mcs\class\corlib\Test\System\DateTimeTest.cs:line 2106

2) MonoTests.System.DateTimeTest.ToOADate_MaxValue :
 expected: <2958465.9999999902>
  but was: <2958465.9999999884>
   at MonoTests.System.DateTimeTest.ToOADate_MaxValue() in
d:\Development\Projec
ts\mono\mcs\class\corlib\Test\System\DateTimeTest.cs:line 1506

The DateTime tests that fail on .NET 3.5 SP1 are:

1) MonoTests.System.DateTimeTest.Parse_Bug53023a : en-029
   at MonoTests.System.DateTimeTest.Parse_Bug53023a() in
d:\Development\Projects
\mono\mcs\class\corlib\Test\System\DateTimeTest.cs:line 1245

2) MonoTests.System.DateTimeTest.ToOADate_MaxValue :
 expected: <2958465.9999999902>
  but was: <2958465.9999999884>
   at MonoTests.System.DateTimeTest.ToOADate_MaxValue() in
d:\Development\Projec
ts\mono\mcs\class\corlib\Test\System\DateTimeTest.cs:line 1506

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list