Companion
object Companion
Content copied to clipboard
Properties
Extensions
between
Link copied to clipboard
Returns the number of whole decades between two years.
fun Decades.Companion.between(start: YearMonth, endExclusive: YearMonth): Decades
Content copied to clipboard
Returns the number of whole decades between two year-months.
Returns the number of whole decades between two dates.
fun Decades.Companion.between(start: DateTime, endExclusive: DateTime): Decades
Content copied to clipboard
Returns the number of whole decades between two date-times, which are assumed to be in the same time zone.
fun Decades.Companion.between(start: OffsetDateTime, endExclusive: OffsetDateTime): Decades
Content copied to clipboard
Returns the number of whole decades between two date-times, adjusting the offset of endExclusive if necessary to match the starting date-time.
fun Decades.Companion.between(start: ZonedDateTime, endExclusive: ZonedDateTime): Decades
Content copied to clipboard
Returns the number of whole decades between two date-times, adjusting the time zone of endExclusive if necessary to match the starting date-time.