Method Calendar.TimeRanges.TimeRange()->next() Method next Method prev TimeRange next() TimeRange prev() Description Next and prev are compatible and convinience functions; a->next() is exactly the same as a+1; a=a->next() is a++.