You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have to drop into interop to make a LocalDateRange from org.threeten.extra. Do you have any plans to bring it in? I note you already support Interval from that library.
Can I help? I might need you to point me in the right direction to get started.
The text was updated successfully, but these errors were encountered:
Sure, you can look in the src/java_time/interval.clj to see how the Interval is integrated. A range is different from interval as it doesn't capture a continuous stretch of time. I don't think there's an entity like that currently implemented in this library.
Do you need the LocalDateRange for the sake of Java interop or do you want to express a domain concern in Clojure? The reason I'm asking is that I usually use a Clojure sequence to get a range of dates like so:
then you have your normal sequence transformations to get whichever info is needed. I guess it would still be useful to have some higher level range-specific operations implemented, like intersection, comparison, etc. as well as maintaining the Seq interface to allow direct iteration. Also, having a generic interface suitable for minutes/hours/local dates/etc. would probably make sense - what do you think?
Thanks for an elegant wrapper.
I currently have to drop into interop to make a
LocalDateRange
fromorg.threeten.extra
. Do you have any plans to bring it in? I note you already supportInterval
from that library.Can I help? I might need you to point me in the right direction to get started.
The text was updated successfully, but these errors were encountered: