//core/io.islandtime.ranges/until
until¶
common
infix fun Date.until(to: Date): DateRange
Creates a DateRange containing all the days from this date up to, but not including to.
common
infix fun DateTime.until(to: DateTime): DateTimeInterval
Creates a DateTimeInterval from this date-time up to, but not including the nanosecond represented by to.
common
infix fun Instant.until(to: Instant): InstantInterval
Creates an InstantInterval from this instant up to, but not including to.
common
infix fun OffsetDateTime.until(to: OffsetDateTime): OffsetDateTimeInterval
Creates an OffsetDateTimeInterval from this date-time up to, but not including to.
common
infix fun ZonedDateTime.until(to: ZonedDateTime): ZonedDateTimeInterval
Creates a ZonedDateTimeInterval from this date-time up to, but not including to.