File tree 2 files changed +2
-2
lines changed 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 =
258
258
* Takes the step into account;
259
259
* will not return any value within the range that would be skipped over by the progression.
260
260
*
261
- * @throws IllegalArgumentException if the progression is empty.
261
+ * @throws NoSuchElementException if the progression is empty.
262
262
*
263
263
* @sample kotlinx.datetime.test.samples.LocalDateRangeSamples.random
264
264
*/
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ public infix fun YearMonth.downTo(that: YearMonth): YearMonthProgression =
258
258
* Takes the step into account;
259
259
* will not return any value within the range that would be skipped over by the progression.
260
260
*
261
- * @throws IllegalArgumentException if the progression is empty.
261
+ * @throws NoSuchElementException if the progression is empty.
262
262
*
263
263
* @sample kotlinx.datetime.test.samples.YearMonthRangeSamples.random
264
264
*/
You can’t perform that action at this time.
0 commit comments