axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Resolved: (AXIS-1017) org.apache.axis.types.Duration
Date Sat, 27 Nov 2004 21:14:25 GMT
     [ ]
Davanum Srinivas resolved AXIS-1017:

     Assign To:     (was: Axis Developers Mailing List)
    Resolution: Fixed

Applied patch.


> org.apache.axis.types.Duration
> ------------------------------
>          Key: AXIS-1017
>          URL:
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.1
>  Environment: Operating System: All
> Platform: All
>     Reporter: Miko PIetilä
>  Attachments: patch-AXIS-1017.tar.gz
> This class does not seem to fulfill the specs define in 
> For example, following are not 
> true: P-1347M is not allowed although -P1347M is allowed. P1Y2MT is not 
> allowed. (Integer.parseInt() allows also negative values). For me the solution 
> seems to be, that first check the minus in the beginning for isNegative and 
> then search for it in rest of the string [if there is one, throw an exception].
> Also just using P works (resulting zero), which should not.
> It would be also very useful to have getter for epoch or Date/Calendar, which 
> can be used instead of constructing the duration 'by hand'.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message