Skip to content

//core/io.islandtime.ranges/DateDayProgression

DateDayProgression

abstract class DateDayProgression : Iterable<Date>

Inheritors

DateRange

Types

Name Summary
Companion

common


object Companion

Properties

Name Summary
first

common


abstract val first: Date
last

common


abstract val last: Date
step

common


abstract val step: Days

Functions

Name Summary
isEmpty

common


abstract fun isEmpty(): Boolean

Checks if this progression is empty.
iterator

common


open operator override fun iterator(): Iterator<Date>
reversed

common


fun DateDayProgression.reversed(): DateDayProgression

Reverses this progression such that it counts down instead of up, or vice versa.
step

common


infix fun DateDayProgression.step(step: Centuries): DateMonthProgression

Creates a progression that steps over the dates in this progression in increments of centuries.

common


infix fun DateDayProgression.step(step: Days): DateDayProgression

Creates a progression that steps over the dates in this progression in increments of days.

common


infix fun DateDayProgression.step(step: Decades): DateMonthProgression

Creates a progression that steps over the dates in this progression in increments of decades.

common


infix fun DateDayProgression.step(step: Months): DateMonthProgression

Creates a progression that steps over the dates in this progression in increments of months.

common


infix fun DateDayProgression.step(step: Weeks): DateDayProgression

Creates a progression that steps over the dates in this progression in increments of weeks.

common


infix fun DateDayProgression.step(step: Years): DateMonthProgression

Creates a progression that steps over the dates in this progression in increments of years.