pub fn get_slices(total: Duration, slice: Duration) -> Vec<Duration>
Make the total time into slices.