This project is read-only.

Problem with DateTime property

Jan 7, 2008 at 3:47 PM
Edited Jan 7, 2008 at 3:48 PM
When testing one of my classes I am getting an error regarding a DateTime property but the get value and the set value match:

Test method WebExApiTest.WebExXmlTypePropertiesTest.TestEventSchedule threw exception: TheJoyOfCode.QualityTools.PropertyTestException: The get value of the 'StartDate' property on the type 'WebExApi.EventSchedule' did not equal the set value (in: '1/1/0001 12:02:34 AM', out: '1/1/0001 12:02:34 AM').

Can anybody examplain why I'm getting an error even though the values appear to be the same?
Jan 7, 2008 at 9:21 PM
I figured it out: the miliseconds are not preserved in my class. I guess I'll simply ignore this property.