[Mono-bugs] [Bug 77350][Nor] Changed - XmlConvert.ToString(TimeSpan.FromSeconds(0)) incorrect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 24 23:19:04 EST 2006


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 awaddell at fnfr.com.

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

--- shadow/77350	2006-01-24 22:51:49.000000000 -0500
+++ shadow/77350.tmp.27396	2006-01-24 23:19:04.000000000 -0500
@@ -110,6 +110,19 @@
 designator ·may· be omitted. However, at least one number and its
 designator ·must· be present.
     * The seconds part ·may· have a decimal fraction.
     * The designator 'T' must be absent if and only if all of the time
 items are absent. The designator 'P' must always be present. 
 
+
+------- Additional Comments From awaddell at fnfr.com  2006-01-24 23:19 -------
+I think the the phrases "However, at least one number and its 
+ designator ·must· be present." means that for a TimeSpan of 0, you
+could have "PT0S", "PT0M", or "PT0H", but not just "P".  The 'T' would
+only be left out if you had date items, but not time items (i.e. you
+can't not have both).
+
+At least that's the way I read it, although it is a bit confusing.  
+
+
+
+


More information about the mono-bugs mailing list