File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
scala-2/org/threeten/bp/temporal
scala-3/org/threeten/bp/temporal Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ object IsoFields {
234
234
if (resolverStyle eq ResolverStyle .LENIENT ) {
235
235
val qoy : Long = qoyLong
236
236
date = LocalDate .of(y, 1 , 1 )
237
- date = date.plusMonths(Math .multiplyExact(Math .subtractExact(qoy, 1 ), 3 ))
237
+ date = date.plusMonths(Math .multiplyExact(Math .subtractExact(qoy, 1 ), 3L ))
238
238
date = date.plusDays(Math .subtractExact(doq, 1 ))
239
239
} else {
240
240
val qoy : Int = QUARTER_OF_YEAR .range.checkValidIntValue(qoyLong, QUARTER_OF_YEAR )
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ object IsoFields {
324
324
if (resolverStyle eq ResolverStyle .LENIENT ) {
325
325
val qoy : Long = qoyLong
326
326
date = LocalDate .of(y, 1 , 1 )
327
- date = date.plusMonths(Math .multiplyExact(Math .subtractExact(qoy, 1 ), 3 ))
327
+ date = date.plusMonths(Math .multiplyExact(Math .subtractExact(qoy, 1 ), 3L ))
328
328
date = date.plusDays(Math .subtractExact(doq, 1 ))
329
329
} else {
330
330
val qoy : Int = Field .QUARTER_OF_YEAR .range.checkValidIntValue(qoyLong, Field .QUARTER_OF_YEAR )
You can’t perform that action at this time.
0 commit comments