You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christopher Schultz (JIRA)" <ji...@apache.org> on 2008/08/19 22:01:44 UTC

[jira] Commented: (BEANUTILS-315) Converter for XML Schema 'dateTime' type

    [ https://issues.apache.org/jira/browse/BEANUTILS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623772#action_12623772 ] 

Christopher Schultz commented on BEANUTILS-315:
-----------------------------------------------

I have identified a possible issue with time zones in this implementation.

It appears that sometimes a date will be rolled back by one hour, but assigned a time zone that, when taken into account, totally makes sense. Since java.lang.Date objects do not carry time zone information, it appears that the Date is one hour earlier than it should be.

I'm working on a fix, and will post it if/when I'm satisfied with it.

If there's anyone out there with good date/calendar kung fu, please speak up and give me your thoughts.

> Converter for XML Schema 'dateTime' type
> ----------------------------------------
>
>                 Key: BEANUTILS-315
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-315
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>          Components: ConvertUtils & Converters
>            Reporter: Christopher Schultz
>            Priority: Minor
>             Fix For: LATER THAN 1.8.0
>
>         Attachments: XMLDateTimeConverter.java, XMLDateTimeConverterTests.java
>
>
> I have developed a converter implementation that can convert XML Schema 'dateTime' (xs:dateTime) types into java.util.Date and would like to donate it to the project.
> This Converter is being used with commons-digester successfully in one of my projects, and a series of posts on the commons-user list led me to believe that commons-beanutils was an appropriate place to file an enhancement request.
> A proposed implementation is forthcoming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.