File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ public infix fun LocalDate.downTo(that: LocalDate): LocalDateProgression =
258258 * Takes the step into account;
259259 * will not return any value within the range that would be skipped over by the progression.
260260 *
261- * @throws IllegalArgumentException if the progression is empty.
261+ * @throws NoSuchElementException if the progression is empty.
262262 *
263263 * @sample kotlinx.datetime.test.samples.LocalDateRangeSamples.random
264264 */
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ public infix fun YearMonth.downTo(that: YearMonth): YearMonthProgression =
258258 * Takes the step into account;
259259 * will not return any value within the range that would be skipped over by the progression.
260260 *
261- * @throws IllegalArgumentException if the progression is empty.
261+ * @throws NoSuchElementException if the progression is empty.
262262 *
263263 * @sample kotlinx.datetime.test.samples.YearMonthRangeSamples.random
264264 */
You can’t perform that action at this time.
0 commit comments