DateRange
class DateRange(start: Date,endInclusive: Date) : DateDayProgression, Interval<Date> , ClosedRange<Date>
Content copied to clipboard
Constructors
Types
Functions
contains
Link copied to clipboard
equals
Link copied to clipboard
hasBoundedEnd
Link copied to clipboard
hasBoundedStart
Link copied to clipboard
hasUnboundedEnd
Link copied to clipboard
hasUnboundedStart
Link copied to clipboard
isBounded
Link copied to clipboard
isUnbounded
Link copied to clipboard
iterator
Link copied to clipboard
Properties
endExclusive
Link copied to clipboard
The end of this interval, exclusive.
endInclusive
Link copied to clipboard
The end of this interval, inclusive.
lengthInDays
Link copied to clipboard
The number of days in this range. As a range is inclusive, if the start and end date are the same, the result will be one day.
lengthInMonths
Link copied to clipboard
The number of whole months in this range.
lengthInWeeks
Link copied to clipboard
The number of whole weeks in this range.
lengthInYears
Link copied to clipboard
The number of whole years in this range.
start
Link copied to clipboard
Extensions
at
Link copied to clipboard
random
Link copied to clipboard
randomOrNull
Link copied to clipboard
toInstantIntervalAt
Link copied to clipboard