Toggle navigation
Home
java.util.Date to java.time.Instant
No. of Instances - 34
No. of Commits - 7
No. of Projects - {'sonarqube', 'james-project', 'wildfly', 'jhipster-sample-app'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
after.toInstant()
to
after
date.compareTo(new Date(now))
to
date.compareTo(now)
async(() -> logDate(now))
to
supplierToString(() -> logDate(now))
async(() -> logDate(date))
to
supplierToString(() -> logDate(date))
async(() -> logDate(date))
to
supplierToString(() -> logDate(date))
Rename Variable
date
to
now
date
to
now
date
to
now
date
to
now
date
to
now
date
to
now
Other
localDate.atStartOfDay(ZoneId.systemDefault()).toInstant()
to
localDate.atStartOfDay(ZoneId.systemDefault()).toInstant()