DateDayProgression

abstract class DateDayProgression : Iterable<Date>

Types

Companion
Link copied to clipboard
common
object Companion

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
isEmpty
Link copied to clipboard
common
abstract fun isEmpty(): Boolean
Checks if this progression is empty.
iterator
Link copied to clipboard
common
open operator override fun iterator(): Iterator<Date>
toString
Link copied to clipboard
common
open fun toString(): String

Properties

first
Link copied to clipboard
common
abstract val first: Date
last
Link copied to clipboard
common
abstract val last: Date
step
Link copied to clipboard
common
abstract val step: IntDays

Inheritors

DateRange
Link copied to clipboard

Extensions

reversed
Link copied to clipboard
common
fun DateDayProgression.reversed(): DateDayProgression
Reverses this progression such that it counts down instead of up, or vice versa.
step
Link copied to clipboard
common
infix fun DateDayProgression.step(step: IntDays): DateDayProgression
Creates a progression that steps over the dates in this progression in increments of days.
infix fun DateDayProgression.step(step: IntWeeks): DateDayProgression
Creates a progression that steps over the dates in this progression in increments of weeks.
infix fun DateDayProgression.step(step: IntMonths): DateMonthProgression
Creates a progression that steps over the dates in this progression in increments of months.
infix fun DateDayProgression.step(step: IntYears): DateMonthProgression
Creates a progression that steps over the dates in this progression in increments of years.
infix fun DateDayProgression.step(step: IntDecades): DateMonthProgression
Creates a progression that steps over the dates in this progression in increments of decades.
infix fun DateDayProgression.step(step: IntCenturies): DateMonthProgression
Creates a progression that steps over the dates in this progression in increments of centuries.