core / io.islandtime.ranges / until

until

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) infix fun Date.until(to: Date): DateRange

Get a range containing all of the days up to, but not including to.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) infix fun DateTime.until(to: DateTime): DateTimeInterval

Get an interval containing all of the date-times up to, but not including the nanosecond represented by to.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) infix fun Instant.until(to: Instant): InstantInterval

Get an interval containing all of the instants up to, but not including to.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) infix fun OffsetDateTime.until(to: OffsetDateTime): OffsetDateTimeInterval

Create an interval containing all of the representable date-times from up to, but not including to.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) infix fun ZonedDateTime.until(to: ZonedDateTime): ZonedDateTimeInterval

Get an interval containing all of the representable time points up to, but not including to.