Skip to main content

timeline

Function timeline 

Source
fn timeline(m: &Moment<'_>) -> Vec<(Zoned, Zoned, Mode)>
Expand description

The changes of time from now to the end of tomorrow (Health’s meals and nights are known that far: Needs::kept_around), each with what it is for: a frame ends when the time changes (quiet::mode’s until), when a meal, a nap or the night begins, starts proper (winding down becomes sleep at bedtime) or ends, when the Porch opens or closes, when it stops resting after a pause, and at midnight, so that “tomorrow” in a frame’s words stays true.