July 2018
Intermediate to advanced
242 pages
8h 6m
English
class DateIterator(startDate: LocalDate, val endDateInclusive: LocalDate, val stepDays: Long) : Iterator<LocalDate> { private var currentDate = startDate override fun hasNext() = currentDate <= endDateInclusive override fun next(): LocalDate { val next = currentDate currentDate = currentDate.plusDays(stepDays) return next }}
class DateProgression( ...Read now
Unlock full access