commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <>
Subject [jira] [Reopened] (LANG-65) [lang] Expose DateIterator or add DateUtils.iterator(startDate, endDate)
Date Sat, 22 Apr 2017 12:20:04 GMT


Pascal Schumacher reopened LANG-65:

> [lang] Expose DateIterator or add DateUtils.iterator(startDate, endDate)
> ------------------------------------------------------------------------
>                 Key: LANG-65
>                 URL:
>             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

View raw message