[ https://issues.apache.org/jira/browse/LANG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved LANG-800. ---------------------------------- Resolution: Fixed Fix Version/s: 3.2 In SVN. > 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 > Fix For: 3.2 > > 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