// This logic gets complicated due to things like lunch breaks, but the user wants one of two things, depending on whether the place is open currently:
// If the place is open:
// - When does it close? Does it reopen after that, and if so, when?
// If the place is closed:
// - When does it open?
// Whether the place is currently open.
varisOpen=false
// The first time today, not before the current time, that the POI will open. This may or may not be the first or last time the POI opens today.
varopeningTimeToday:Int?=null
// The first time today, not before the current time, that the POI will close. This may or may not be the first or last time that the POI closes today.
varclosingTimeToday:Int?=null
// Iterate through the rules in this opening hours expression and find the ones that apply to today (defined above).