| return TimeValue.timeValueMillis(now.getMillis() - now.minusMonths(months).getMillis()); | return TimeValue.timeValueMillis(now.toInstant().toEpochMilli() - now.minusMonths(months).toInstant().toEpochMilli()); | TimeValue.timeValueMillis(now.getMillis() - now.minusMonths(months).getMillis()) | TimeValue.timeValueMillis(now.toInstant().toEpochMilli() - now.minusMonths(months).toInstant().toEpochMilli()) | elasticsearch | 85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d | org.elasticsearch.xpack.monitoring.cleaner.AbstractIndicesCleanerTestCase | | | | TCIVar | now |
|---|
| v1 | now.minusMonths(months) |
|---|
| - org.elasticsearch.common.unit.TimeValue
| | TCIVar | now |
|---|
| v1 | now.minusMonths(months) |
|---|
| Uses | True |
| return TimeValue.timeValueMillis(now.getMillis() - now.minusYears(years).getMillis()); | return TimeValue.timeValueMillis(now.toInstant().toEpochMilli() - now.minusYears(years).toInstant().toEpochMilli()); | TimeValue.timeValueMillis(now.getMillis() - now.minusYears(years).getMillis()) | TimeValue.timeValueMillis(now.toInstant().toEpochMilli() - now.minusYears(years).toInstant().toEpochMilli()) | elasticsearch | 85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d | org.elasticsearch.xpack.monitoring.cleaner.AbstractIndicesCleanerTestCase | | | | TCIVar | now |
|---|
| v1 | now.minusYears(years) |
|---|
| - org.elasticsearch.common.unit.TimeValue
| | TCIVar | now |
|---|
| v1 | now.minusYears(years) |
|---|
| Uses | True |