thombashi / DateTimeRange

DateTimeRange is a Python library to handle a time range. e.g. check whether a time is within the time range, get the intersection of time ranges, truncate a time range, iterate through a time range, and so forth.
https://datetimerange.rtfd.io/
MIT License
106 stars 16 forks source link

Allow open start and end dates on ranges #40

Open ghost opened 2 years ago

ghost commented 2 years ago

It would be very useful to have more flexible date ranges that have no particular start or end dates but reach to infinity. Is this something this software is open to support?

thombashi commented 2 years ago

That might be useful for certain use cases. Pull requests would be always welcome.