[
https://issues.apache.org/jira/browse/LANG-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pascal Schumacher reopened LANG-65:
-----------------------------------
> [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
>
> 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.3.15#6346)