commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-800) Javadoc bug in DateUtils#ceiling for Calendar and Object versions.
Date Tue, 24 Apr 2012 12:53:36 GMT

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

Gary D. Gregory updated LANG-800:
---------------------------------

    Summary: Javadoc bug in DateUtils#ceiling for Calendar and Object versions.  (was: CLONE
- Doc bug in DateUtils#ceiling)
    
> Javadoc bug in DateUtils#ceiling for Calendar and Object versions.
> ------------------------------------------------------------------
>
>                 Key: LANG-800
>                 URL: https://issues.apache.org/jira/browse/LANG-800
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Luciano Franceschina
>            Priority: Trivial
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The documentation has only been corrected for the ceiling method that takes a Date, but
not for those that take a Calendar or an Object, respectively.
> {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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message