You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/02/25 20:44:30 UTC

[jira] Updated: (LANG-443) DateUtils should test with the extremes

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