Restaurants don't have set hours, but your Sim could open and close it during the same hours each time (by going there --- or not), if those hours worked best for them. So you could create a schedule in that way. However, employees get tired after about 10 hours, or so.