To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108348
                 Issue #|108348
                 Summary|util::DateTime cannot represent XML-Schema P2 dateTime
               Component|api
                 Version|DEV300m68
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|definition
             Assigned to|mst
             Reported by|mst





------- Additional comments from [email protected] Fri Jan 15 12:43:07 +0000 
2010 -------
http://www.w3.org/TR/xmlschema-2/#dateTime

In the XML-Schema 2 specification, the datatype dateTime has several
aspects that our current UNO API css::util::DateTime struct cannot represent:

1. negative values
An XMLSchema-2 dateTime may have an "-" prefix to denote negative dates (BCE).
util::DateTime has all unsigned members, and no sign field.

2. fractional second precision
XMLSchema-2 specifies that fractional seconds must be supported with
at least 3 decimal digits of precision.
util::DateTime only has HundredthSeconds precision.

3. timezones
An XMLSchema-2 dateTime may contain a timezone offset.
util::DateTime has no timezone support.
It would be possible to convert all timezoned values to UTC on import;
however, timezoned values must sill be distinguishable from non-timezoned
values, which are specified to be in some unknown timezone, and thus are
not in general comparable with timezoned values.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to