commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Sauder (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEANUTILS-397) NumberConverter is limited to Long when converting Date/Calendar to Number
Date Fri, 25 Nov 2011 16:41:40 GMT

     [ https://issues.apache.org/jira/browse/BEANUTILS-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Sauder updated BEANUTILS-397:
------------------------------------

    Attachment: numberconverter-datecalendar-to-bigdecimalbiginteger-and-visaversa.patch

I have just recognized: When NumberConverter supports conversion from Calendar to BigDecimal
and BigInteger so should DateTimeConverter support the contrary.

Therefore I have updated the patch and added such feature.

Would love to see this patch applied.
                
> NumberConverter is limited to Long when converting Date/Calendar to Number
> --------------------------------------------------------------------------
>
>                 Key: BEANUTILS-397
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-397
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: ConvertUtils & Converters
>    Affects Versions: 1.8.3
>            Reporter: Oliver Sauder
>            Priority: Minor
>             Fix For: 1.8.4
>
>         Attachments: numberconverter-datecalendar-to-bigdecimalbiginteger-and-visaversa.patch,
numberconverter-datecalendar-to-bigdecimalbiginteger.patch
>
>
> NumberConverter is limited to Long when converting Date/Calendar to Number.
> However it would be desirable when the conversion would work to BigDecimal and BigInteger
as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message