[Mono-bugs] [Bug 333700] New: System.DateTime. FromOADate fails on date with negative UTC offset
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Oct 14 04:23:42 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=333700
Summary: System.DateTime.FromOADate fails on date with negative
UTC offset
Product: Mono: Class Libraries
Version: 1.2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: ng at global-mailer.mine.nu
QAContact: mono-bugs at ximian.com
Found By: ---
calling System.DateTime.FromOADate for a date containing a negative UTC offset
results in an out of range exception. Example output from a newsreader
application using Indy.NNTP:
d
Parameter name: [-657435,2958466]
at System.DateTime.FromOADate (Double d) [0x00000]
at Borland.Delphi.TDateTime.FromOADate (Double AValue) [0x00000]
at Borland.Delphi.TDateTime.op_Implicit (Double AValue) [0x00000]
at Indy.Sockets.NNTP.ParseXOVER (System.String Aline, System.Int32&
AArticleIndex, System.String& ASubject, System.String& AFrom,
Borland.Delphi.TDateTime& ADate, System.String& AMsgId, System.String&
AReferences, System.Int32& AByteCount, System.Int32& ALineCount, System.String&
AExtraData) [0x00000]
at (wrapper remoting-invoke-with-check) Indy.Sockets.NNTP:ParseXOVER
(string,int&,string&,string&,Borland.Delphi.TDateTime&,string&,string&,int&,int&,string&)
The date was
Fri, 12 Aug 2005 15:41:15 -0500
It works as expected without exception when the UTC offset is positive.
--
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