JcaX509v3CertificateBuilder builder=new JcaX509v3CertificateBuilder(issuer,serial,new Time(notBefore.toDate(),Locale.ROOT),new Time(notAfter.toDate(),Locale.ROOT),subject,keyPair.getPublic()); | JcaX509v3CertificateBuilder builder=new JcaX509v3CertificateBuilder(issuer,serial,new Time(Date.from(notBefore.toInstant()),Locale.ROOT),new Time(Date.from(notAfter.toInstant()),Locale.ROOT),subject,keyPair.getPublic()); | notAfter | notAfter.toInstant() | elasticsearch | afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404 | org.elasticsearch.xpack.security.cli.CertGenUtils | | | | | | Uses | True |
out.writeLong(expiry.getMillis()); | out.writeLong(expiry.toInstant().toEpochMilli()); | expiry | expiry.toInstant() | elasticsearch | afcdbd2bc03a9df3b5a45b6f7dfcc2b5e52df404 | org.elasticsearch.xpack.core.ssl.cert.CertificateInfo | | | | | | Uses | True |
out.writeVLong(executionTime.getMillis()); | out.writeVLong(executionTime.toInstant().toEpochMilli()); | executionTime | executionTime.toInstant() | elasticsearch | 9b64558efb71f1564cd97c02e427a52f521cef8c | org.elasticsearch.xpack.core.watcher.execution.WatchExecutionSnapshot | | _1 | executionTime |
---|
_2 | executionTime |
---|
| | | | Uses | True |
out.writeVLong(triggeredTime.getMillis()); | out.writeVLong(triggeredTime.toInstant().toEpochMilli()); | triggeredTime | triggeredTime.toInstant() | elasticsearch | 9b64558efb71f1564cd97c02e427a52f521cef8c | org.elasticsearch.xpack.core.watcher.execution.WatchExecutionSnapshot | | _1 | triggeredTime |
---|
_2 | triggeredTime |
---|
| | | | Uses | True |
out.writeVLong(executionTime.getMillis()); | out.writeVLong(executionTime.toInstant().toEpochMilli()); | executionTime | executionTime.toInstant() | elasticsearch | 9b64558efb71f1564cd97c02e427a52f521cef8c | org.elasticsearch.xpack.core.watcher.execution.QueuedWatch | | _1 | executionTime |
---|
_2 | executionTime |
---|
| | | | Uses | True |
out.writeVLong(triggeredTime.getMillis()); | out.writeVLong(triggeredTime.toInstant().toEpochMilli()); | triggeredTime | triggeredTime.toInstant() | elasticsearch | 9b64558efb71f1564cd97c02e427a52f521cef8c | org.elasticsearch.xpack.core.watcher.execution.QueuedWatch | | _1 | triggeredTime |
---|
_2 | triggeredTime |
---|
| | | | Uses | True |
return TimeValue.timeValueMillis(now.getMillis() - now.minusMonths(months).getMillis()); | return TimeValue.timeValueMillis(now.toInstant().toEpochMilli() - now.minusMonths(months).toInstant().toEpochMilli()); | now | now.toInstant() | elasticsearch | 85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d | org.elasticsearch.xpack.monitoring.cleaner.AbstractIndicesCleanerTestCase | | | | | | Uses | True |
return TimeValue.timeValueMillis(now.getMillis() - now.minusYears(years).getMillis()); | return TimeValue.timeValueMillis(now.toInstant().toEpochMilli() - now.minusYears(years).toInstant().toEpochMilli()); | now | now.toInstant() | elasticsearch | 85b4bfe3ff119b3b7fa48631c6fc4a0bf9e1816d | org.elasticsearch.xpack.monitoring.cleaner.AbstractIndicesCleanerTestCase | | | | | | Uses | True |