[Mulgara-dev] XSD dateTimes

Edwin Shin eddie at cs.cornell.edu
Mon Nov 26 17:54:30 UTC 2007


The last round of dateTime patches I sent around were buggy. I've since 
updated the unit tests and fleshed out the timezone support. Now parses 
any valid XSD dateTime with or without a timezone. I do, however, take 
the liberty of treating untimezoned input as UTC.

I stopped using the DateUtils library as a) it didn't have the timezone 
support I was looking for and b) I noticed a request to move away from 
DateUtils. So back to instances of SimpleDateFormat until a replacement 
comes along.

Didn't get to changing the comparators this time around.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SPDateTimeImpl.patch
Type: text/x-patch
Size: 4852 bytes
Desc: not available
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20071127/c0730fc2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SPDateTimeUnitTest.patch
Type: text/x-patch
Size: 11327 bytes
Desc: not available
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20071127/c0730fc2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XSD.patch
Type: text/x-patch
Size: 4017 bytes
Desc: not available
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20071127/c0730fc2/attachment-0002.bin>


More information about the Mulgara-dev mailing list