Fix typo in README example

Corrected terminology from 'data range' to 'date range' for clarity.
This commit is contained in:
Chris Hapgood
2026-01-07 16:09:00 -05:00
committed by GitHub
parent 73731422c2
commit c037bc9b90

View File

@@ -4,7 +4,7 @@ of which contains zero or more [LocalDateRange](https://www.threeten.org/threete
objects. The function must return the minimal set of LocalDateRange objects that represents the [interval difference](http://mathinschool.com/page/8.html) objects. The function must return the minimal set of LocalDateRange objects that represents the [interval difference](http://mathinschool.com/page/8.html)
between the first set and all additional input sets. between the first set and all additional input sets.
For example, given a set containing the single data range representing the month of January 2024 and a second set containing a date range For example, given a set containing the single date range representing the month of January 2024 and a second set containing a date range
representing the second week of January 2024 and a date range representing the single day of New Year's Day 2024, the function should return representing the second week of January 2024 and a date range representing the single day of New Year's Day 2024, the function should return
a set with two intervals, one representing the date range January 2-7, 2024 and the other representing the date range January 15-31, 2024. a set with two intervals, one representing the date range January 2-7, 2024 and the other representing the date range January 15-31, 2024.
Stated using algebraic symbols and leveraging the ISO representation of date intervals: Stated using algebraic symbols and leveraging the ISO representation of date intervals: