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

Henri Yandell updated LANG-65:
------------------------------

    Fix Version/s:     (was: Commons Time?)
                   4.0

Assuming the new date/time library comes out with Java 8, and that Lang 4.0 is 
8 dependent, we'll revisit all lang.time JIRA issues then.

> [lang] Expose DateIterator or add DateUtils.iterator(startDate, endDate)
> ------------------------------------------------------------------------
>
>                 Key: LANG-65
>                 URL: https://issues.apache.org/jira/browse/LANG-65
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.time.*
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ben Munat
>             Fix For: 4.0
>
>
> The DateUtils.iterator methods only work with the preset date ranges indicated
> by constants in the class. It would be very useful to be able to iterate 
> through
> each day between a user-specified start date and an end date. 
> This could be as simple as making the static DateIterator inner class of
> DateUtils public (it's package protected now). Or, if that's not appealing for
> some reason, another iterator method could be added that takes the start date
> and end date and returns a DateIterator instance as Iterator.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to