DateDayProgression

abstract class DateDayProgression : Iterable<Date>

Types

Companion
Link copied to clipboard
common
object Companion

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
isEmpty
Link copied to clipboard
common

Checks if this progression is empty.

abstract fun isEmpty(): Boolean
iterator
Link copied to clipboard
common
open operator override fun iterator(): Iterator<Date>
toString
Link copied to clipboard
common
open override 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
common

Extensions

reversed
Link copied to clipboard
common

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

fun DateDayProgression.reversed(): DateDayProgression
step
Link copied to clipboard
common

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

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

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

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

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

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

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

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

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

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

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

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