The answer is quite simple:
// initiate procedure to move outside of bed
* We wake up at each day, this is life
if weekDay is (saturday or sunday)
while (time.now < 10h00)
You see? Sometimes life is easy to explain. What do you think?