[Mono-bugs] [Bug 57614][Nor] New - Convert.ToDateTime() throws wrong Exception with big year

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 25 Apr 2004 10:24:10 -0400 (EDT)


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 ndrochak@gol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=57614

--- shadow/57614	2004-04-25 10:24:10.000000000 -0400
+++ shadow/57614.tmp.20912	2004-04-25 10:24:10.000000000 -0400
@@ -0,0 +1,22 @@
+Bug#: 57614
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ndrochak@gol.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Convert.ToDateTime() throws wrong Exception with big year
+
+Convert.ToDateTime("20022-01-01");
+
+should throw an ArgumentOutOfRangeException, but instead it throws a
+FormatException.