fun Time.truncatedToHours(): Timefun OffsetTime.truncatedToHours(): OffsetTime
Return a copy of this time, truncated to the hour value. All smaller components will be replaced with zero.
fun DateTime.truncatedToHours(): DateTimefun ZonedDateTime.truncatedToHours(): ZonedDateTimefun OffsetDateTime.truncatedToHours(): OffsetDateTime
Return a copy of this date-time, truncated to the hour value. All smaller components will be replaced with zero.