File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ public fun Duration.toDateTimePeriod(): DateTimePeriod = buildDateTimePeriod(tot
579
579
*/
580
580
@Deprecated(
581
581
" Adding periods is not a well-defined operation. See https://github.com/Kotlin/kotlinx-datetime/issues/381" ,
582
- level = DeprecationLevel .ERROR
582
+ level = DeprecationLevel .WARNING
583
583
)
584
584
public operator fun DateTimePeriod.plus (other : DateTimePeriod ): DateTimePeriod = buildDateTimePeriod(
585
585
safeAdd(totalMonths, other.totalMonths),
@@ -597,7 +597,7 @@ public operator fun DateTimePeriod.plus(other: DateTimePeriod): DateTimePeriod =
597
597
*/
598
598
@Deprecated(
599
599
" Adding periods is not a well-defined operation. See https://github.com/Kotlin/kotlinx-datetime/issues/381" ,
600
- level = DeprecationLevel .ERROR
600
+ level = DeprecationLevel .WARNING
601
601
)
602
602
public operator fun DatePeriod.plus (other : DatePeriod ): DatePeriod = DatePeriod (
603
603
safeAdd(totalMonths, other.totalMonths),
You can’t perform that action at this time.
0 commit comments