[Mono-bugs] [Bug 76082][Wis] New - DateTime.ParseExact throws System.ArgumentOutOfRangeException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 13 06:15:30 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mail at meebey.net.


--- shadow/76082	2005-09-13 06:15:30.000000000 -0400
+++ shadow/76082.tmp.6408	2005-09-13 06:15:30.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 76082
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: Debian GNU/Linux
+Status: NEW   
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: mail at meebey.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: DateTime.ParseExact throws System.ArgumentOutOfRangeException
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+DateTime.ParseExact throws exception for DateTime.MinValue passed as ISO
+formatting. This worked with Mono 1.1.8 but doesn't anyhow with Mono 1.1.9
+Steps to reproduce the problem:
+1. run the testcase
+Actual Results:
+Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of
+in <0x000e5> System.DateTime:.ctor (Int64 newticks)
+in <0x016de> System.DateTime:_DoParse (System.String s, System.String
+format, Boolean exact, System.DateTime result,
+System.Globalization.DateTimeFormatInfo dfi, DateTimeStyles style,
+System.Boolean longYear)
+in <0x00045> System.DateTime:ParseExact (System.String s, System.String[]
+formats, System.Globalization.DateTimeFormatInfo dfi, DateTimeStyles style,
+System.DateTime ret, Boolean exact, System.Boolean longYear)
+in <0x00066> System.DateTime:ParseExact (System.String s, System.String[]
+formats, IFormatProvider fp, DateTimeStyles style)
+in <0x00040> System.DateTime:ParseExact (System.String s, System.String
+format, IFormatProvider fp, DateTimeStyles style)
+in <0x00019> System.DateTime:ParseExact (System.String s, System.String
+format, IFormatProvider fp)
+in <0x0008e> MainClass:Main ()
+Expected Results:
+no exception
+How often does this happen? 
+Additional Information:
+I think this is related to the timezone changes in DateTime in commit r49554

More information about the mono-bugs mailing list