openHAB currently has few useful tools for complex schedules, it’s a reconized shortcoming… But you will find threads here to get started. Examples
Or use an external service like GCAL / Caldav or something like