You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luciano Franceschina (Updated) (JIRA)" <ji...@apache.org> on 2012/04/18 07:14:40 UTC
[jira] [Updated] (LANG-800) CLONE - Doc bug in DateUtils#ceiling
[ https://issues.apache.org/jira/browse/LANG-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Franceschina updated LANG-800:
--------------------------------------
Fix Version/s: (was: 3.0)
Description:
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)
was:
{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)
Affects Version/s: (was: 2.5)
3.1
> CLONE - Doc bug in DateUtils#ceiling
> ------------------------------------
>
> 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