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