You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2011/01/22 09:30:43 UTC

[jira] Commented: (LANG-672) Doc bug in DateUtils#ceiling

    [ https://issues.apache.org/jira/browse/LANG-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985077#action_12985077 ] 

Henri Yandell commented on LANG-672:
------------------------------------

Confirmed - need to fix the javadoc and add unit tests to be doubly sure that the examples are good.

> Doc bug in DateUtils#ceiling
> ----------------------------
>
>                 Key: LANG-672
>                 URL: https://issues.apache.org/jira/browse/LANG-672
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Gergely Kontra
>            Priority: Trivial
>             Fix For: 3.0
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> {quote}{noformat}For example, if you had the datetime of 28 Mar 2002
>      * 13:45:01.231, if you passed with HOUR, it would return 28 Mar
>      * 2002 13:00:00.000.  If this was passed with MONTH, it would
>      * return 1 Mar 2002 0:00:00.000. {noformat}{quote}
> Looks like copy-paste from truncate. (the dates are incorrect)

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