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

Niall Pemberton commented on BEANUTILS-315:
-------------------------------------------

The next planned release for BeanUtils is 1.8.0, but that is targetted at JDK 
1.3 and since this converter uses java.util.regex.Pattern and therefore 
requires JDK 1.4 then it will have to wait until after that.

Also given that the 1.8.0 release hasn't yet happened in over a year then I'm 
not even sure that there will ever be another release after that - so the 
following comment may be academic anyway.

I would prefer if your implementation extended from AbstractConverter[1] - 
which means implementing the following methods:

 * protected String convertToString(value)
 * protected Object convertToType(Class, value)
 * protected Class getDefaultType()

[1] 
http://svn.apache.org/repos/asf/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java

> 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
>         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.

Reply via email to