//core/io.islandtime.measures/Centuries/Companion
Companion¶
common
object Companion
Properties¶
Name | Summary |
---|---|
MAX | common val MAX: Centuries The largest supported value. |
MIN | common val MIN: Centuries The smallest supported value. |
Functions¶
Name | Summary |
---|---|
between | common fun Centuries.Companion.between(start: Date, endExclusive: Date): Centuries Returns the number of whole centuries between two dates. common 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. common 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. common fun Centuries.Companion.between(start: Year, endExclusive: Year): Centuries Returns the number of whole centuries between two years. common fun Centuries.Companion.between(start: YearMonth, endExclusive: YearMonth): Centuries Returns the number of whole centuries between two year-months. common 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. |