You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (JIRA)" <ji...@apache.org> on 2012/04/24 14:53:36 UTC
[jira] [Updated] (LANG-800) Javadoc bug in DateUtils#ceiling for
Calendar and Object versions.
[ 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