commons-issues mailing list archives

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

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

Pascal Schumacher closed LANG-65.
---------------------------------
    Resolution: Won't Fix

> [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)

Mime
View raw message