Companion

object Companion

Properties

MAX
Link copied to clipboard
common
val MAX: Centuries

The largest supported value.

MIN
Link copied to clipboard
common
val MIN: Centuries

The smallest supported value.

Extensions

between
Link copied to clipboard
common
fun Centuries.Companion.between(start: Year, endExclusive: Year): Centuries

Returns the number of whole centuries between two years.

fun Centuries.Companion.between(start: YearMonth, endExclusive: YearMonth): Centuries

Returns the number of whole centuries between two year-months.

fun Centuries.Companion.between(start: Date, endExclusive: Date): Centuries

Returns the number of whole centuries between two dates.

fun Centuries.Companion.between(start: DateTime, endExclusive: DateTime): Centuries

Returns the number of whole centuries between two date-times, which are assumed to be in the same time zone.

fun Centuries.Companion.between(start: OffsetDateTime, endExclusive: OffsetDateTime): Centuries

Returns the number of whole centuries between two date-times, adjusting the offset of endExclusive if necessary to match the starting date-time.

fun Centuries.Companion.between(start: ZonedDateTime, endExclusive: ZonedDateTime): Centuries

Returns the number of whole centuries between two date-times, adjusting the time zone of endExclusive if necessary to match the starting date-time.