core / io.islandtime.operators / truncatedToMinutes

truncatedToMinutes

(iosArm64, iosX64, jvm, macosX64) fun Time.truncatedToMinutes(): Time

Return a copy of this time, truncated to the minute value. All smaller components will be replaced with zero.

(iosArm64, iosX64, jvm, macosX64) fun DateTime.truncatedToMinutes(): DateTime
fun OffsetDateTime.truncatedToMinutes(): OffsetDateTime

Return a copy of this date-time, truncated to the minute value. ll smaller components will be replaced with zero.

(iosArm64, iosX64, jvm, macosX64) fun ZonedDateTime.truncatedToMinutes(): ZonedDateTime

Return a copy of this date-time, truncated to the minute value. All smaller components will be replaced with zero.

(iosArm64, iosX64, jvm, macosX64) fun OffsetTime.truncatedToMinutes(): OffsetTime

Return a copy of this time, truncated to the minute value. ll smaller components will be replaced with zero.