cycle method
void
cycle()
Advances the inline grid to show the next picker in the cycle.
Implementation
void cycle() {
switch (type) {
case .day:
jumpToMonthPicker();
case .month:
jumpToYearPicker(month.current);
case .year:
jumpToDayPicker();
}
}