Toggle navigation
Home
java.util.Calendar to java.time.ZonedDateTime
No. of Instances - 19
No. of Commits - 3
No. of Projects - {'jetty.project'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
midnight.getTime()
to
midnight.toInstant().toEpochMilli()
ZonedDateTime.now()
to
now
midnight.getTimeInMillis()
to
midnight.toInstant().toEpochMilli()
now.getTimeInMillis()
to
now.toInstant().toEpochMilli()
midnight.getTimeInMillis()
to
midnight.toInstant().toEpochMilli()
now.getTimeInMillis()
to
now.toInstant().toEpochMilli()
FileTime.fromMillis(now.getTimeInMillis())
to
FileTime.from(now.toInstant())
FileTime.fromMillis(now.getTimeInMillis())
to
FileTime.from(now.toInstant())
nextEvent.getTimeInMillis()
to
nextEvent.toInstant().toEpochMilli()
_fileDateFormat.format(now.getTime())
to
_fileDateFormat.format(new Date(now.toInstant().toEpochMilli()))
_fileBackupFormat.format(now.getTime())
to
_fileBackupFormat.format(new Date(now.toInstant().toEpochMilli()))