commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33609] New: - Unclear javadoc for DateUtils.iterator()
Date Wed, 16 Feb 2005 15:41:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33609

           Summary: Unclear javadoc for DateUtils.iterator()
           Product: Commons
           Version: 2.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hak@2mba.dk


The javadoc for DateUtils.iterator() seems to say that the iterator returned
will only have two dates: the start date and the end date. If it iterates over
more dates, which interval is use: hour, day, week or something else?

"For instance, passing Thursday, July 4, 2002 and a RANGE_MONTH_SUNDAY will
return an Iterator that starting with Sunday, June 30, 2002 iterates over every
day (at midnight) until with Saturday, August 3, 2002."

Also the Date version of the method does not say that the iterator returns
Calendar and not Date as I would have expected given the method signature.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message