diff --git a/README.md b/README.md index 390a4bf..76b2504 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ of which contains zero or more [LocalDateRange](https://www.threeten.org/threete objects. The function must return a set of LocalDateRange objects that represent the [interval difference](http://mathinschool.com/page/8.html) of the first set and all additional sets of the input. This English sentence represents an example of the operation: -"Remove the second week in January 2024 and New Years Day from the month of January 2024." +"Remove the second week in January and New Years Day from the month of January 2024." ### Context -At Sun Tribe Trading we gather the energy production of solar generators from various sources (typically API from of the manufacturers +At Sun Tribe Trading we gather the energy production of solar generators from various sources (typically APIs from the manufacturers of solar energy equipment) and submit the data to regulatory authorities. It's important that we accurately determine the energy data we need to gather based on the data we already have on hand and the current reporting period. Date interval operations are central to this computation. @@ -38,6 +38,8 @@ Our solution evolved from the observation that a LocalDateRange object can be re input into a set difference operation, but the result must be "compressed" back into the minimal set of LocalDateRange objects. +The `LocalDateRange` class has some useful methods (class and instance). + Before coding, you should be comfortable with the concept of a [time interval](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals), and more specifically a (local) date interval as implemented by the [backing Java library we use](https://www.threeten.org/threeten-extra/apidocs/org.threeten.extra/org/threeten/extra/LocalDateRange.html). @@ -47,5 +49,7 @@ This git repository is the entire input you will need for the Sun Tribe code cha of this repository (including our initial commits and the commit(s) of your solution). You may submit either: * a link to a public http(s) repository that can be cloned by `git clone `. + -or- + * a repository compressed into a standard zip file that can be opened with `unzip `.