57
69
if (index == intern.currentIndex) return intern.currentDayStart
58
70
var previousIndex = intern.currentIndex > 0 ? intern.currentIndex - 1 : 2
59
71
if (index == previousIndex) return intern.currentDayStart.addDays(-1)
60
72
return intern.currentDayStart.addDays(1)