Please see the OH3 release notes in section “rules”:
Rules now use Java Time API instead of Jodatime so some expressions need to be adapted:
* `getHourOfDay → getHour, getMinuteOfHour → getMinute, getMonthOfYear → getMonthValue`
* Some simple `>`and `<` comparisons may no longer work and you may need to use `isAfter()/isBefore()` instead.
Thanks @spy0r. I was building my own Date widget, but since there is now a default one, I’m using that one. Nonetheless, I’m pretty sure I tried that also and was unsuccessful. I’m assuming that I should include the () in the expression as in state.DayOfWeek().toString().