Weekend handling

Plus split out alarmtime into separate module.