Toggle navigation
Home
org.joda.time.DateTime to java.time.OffsetTime
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'presto'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: External -> Jdk
Mapping:
Add or Remove Method invocation
toTimeWithTimeZone(WEIRD_TIME.plusMillis(3))
to
toTimeWithTimeZone(WEIRD_TIME.plusNanos(3_000_000))
dateTime.getMillis()
to
offsetTime
offsetTime
to
millisUtc(offsetTime)
dateTime.getZone()
to
TimeZoneKey
result.withMillisOfSecond(0)
to
result.withSecond(0)
result.withSecondOfMinute(0)
to
result.withMinute(0)
result.withMinuteOfHour(0)
to
result.withNano(0)
Rename Variable
dateTime
to
offsetTime