All notable changes to opening-hours will be documented in this file
- overspilling timerange will now contain start time
- Added
nextClose
- Added additional helpers on
Time
- Added the ability to pass a
DateTimeinstance to mutate toTime::toDateTime
- Added
OpeningHours::forWeekCombined()
- Added the ability to add recurring exceptions
- Fixed bug where checking on times starting at midnight would cause an infinite loop
- Added
regularClosingDays,regularClosingDaysISOandexceptionalClosingDatesmethods
- Added
asStructuredDatato retrieve the opening hours as a Schema.org structured data array - Added
nextOpenmethod to determine the next time the business will be open - Added utility methods:
OpeningHours::map,OpeningHours::flatMap,OpeningHours::mapExceptions,OpeningHours::flatMapExceptions,OpeningHoursForDay::mapandOpeningHoursForDay::empty
- Added timezone support
isClosedOnfix
- Fixed missing import in
Timeclass
- Replaced
DateTimebyDateTimeInterface
- First release