Closed as not planned
Description
let's say that we have
val nowLocalDateTime = Clock.System.now()
.toLocalDateTime(TimeZone.currentSystemDefault())
I want to set the hours after getting the current LocalDateTime to 10 am .
in java we used
val pickupCalendar =
Calendar.getInstance().apply {
add(Calendar.DATE, 2)
this[Calendar.HOUR_OF_DAY] = 10
this[Calendar.MINUTE] = 0
}
Metadata
Metadata
Assignees
Labels
No labels