Converts a schedule array index to day and time.
Index in the schedule array (0-335).
// Index 16 = Monday 08:00indexToTime(16); // Returns { day: 0, hour: 8, minute: 0 } Copy
// Index 16 = Monday 08:00indexToTime(16); // Returns { day: 0, hour: 8, minute: 0 }
// Index 125 = Wednesday 14:30indexToTime(125); // Returns { day: 2, hour: 14, minute: 30 } Copy
// Index 125 = Wednesday 14:30indexToTime(125); // Returns { day: 2, hour: 14, minute: 30 }
Converts a schedule array index to day and time.