commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-443) DateUtils should test with the extremes
Date Thu, 25 Feb 2010 19:44:30 GMT

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

Niall Pemberton updated LANG-443:
---------------------------------

    Fix Version/s:     (was: 3.0)
                   2.5

> DateUtils should test with the extremes
> ---------------------------------------
>
>                 Key: LANG-443
>                 URL: https://issues.apache.org/jira/browse/LANG-443
>             Project: Commons Lang
>          Issue Type: Task
>          Components: lang.time.*
>    Affects Versions: 2.4
>            Reporter: Robert Scholte
>            Priority: Minor
>             Fix For: 2.5
>
>         Attachments: LANG-443-rs.patch
>
>
> Current testdates are a bit to generic. Especially for truncating, ceiling and rounding
you shuold test for the extremes. 
> So for rounding to hours you should test for 0:29 (rounding down); 0:30 (rounding up);
1:00 (no rounding required)

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


Mime
View raw message