Toggle navigation
Home
java.util.Date to java.time.LocalDate
No. of Instances - 8
No. of Commits - 1
No. of Projects - {'hadoop'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
dateFormat.parse(endDateElement.getText())
to
LocalDate.parse(endDateElement.getText(),DateTimeFormatter.ISO_DATE)
dateFormat.parse(startDateElement.getText())
to
LocalDate.parse(startDateElement.getText(),DateTimeFormatter.ISO_DATE)
res.getCalendarField()
to
currentDate
calendar.get(currentDate)
to
getDateValue(currentDate,res)
cal.getTime()
to
LocalDate.of(calendarFields.get(Resolution.YEAR),calendarFields.getOrDefault(Resolution.MONTH,1),calendarFields.getOrDefault(Resolution.DAY,1))
endDate
to
endDate.plusMonths(1)
beginDate.before(endDate)
to
beginDate.isBefore(endDate)
beginDate.toInstant()
to
beginDate.atStartOfDay()
endDate.toInstant()
to
endDate.atStartOfDay()
beginDate.before(endDate)
to
beginDate.isBefore(endDate)
beginDate.toInstant()
to
beginDate.atStartOfDay()
endDate.toInstant()
to
endDate.atStartOfDay()
Other
getState(false).rangeStart
to
getState(false).rangeStart
getState(false).rangeEnd
to
getState(false).rangeEnd
Rename Method invocation
setValue
to
doSetValue
parseDateTimeQuietly
to
parseLocalDateQuietly
Rename Variable
d
to
date
d
to
date
date
to
ld
date
to
ld
Update argument list (Class Instance Creation)
SelfSignedCertificate
to
SelfSignedCertificate
SelfSignedCertificate
to
SelfSignedCertificate
Cascading Type Change (Similar)
Date
to
LocalDate