http://docs.openhab.org/configuration/rules-dsl.html#datetime-item
This should be useful.
The Design Pattern: Simple State Machine (e.g. Time Of Day) has been updated since this posting (maybe was written after it actually) which has a little bit more concise implementation.