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

Robert Scholte updated LANG-443:
--------------------------------

    Attachment: LANG-443-rs.patch

First set of new tests. If DateUtils.ceil() is available, this file must also 
test this method

> DateUtils should test with the extremes
> ---------------------------------------
>
>                 Key: LANG-443
>                 URL: https://issues.apache.org/jira/browse/LANG-443
>             Project: Commons Lang
>          Issue Type: Task
>    Affects Versions: 2.4
>            Reporter: Robert Scholte
>            Priority: Minor
>             Fix For: 3.0
>
>         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.

Reply via email to