//core/io.islandtime.measures/Days/Companion
Companion¶
common
object Companion
Properties¶
| Name | Summary |
|---|---|
| MAX | common val MAX: DaysThe largest supported value. |
| MIN | common val MIN: DaysThe smallest supported value. |
Functions¶
| Name | Summary |
|---|---|
| between | common fun Days.Companion.between(start: Date, endExclusive: Date): DaysReturns the number of days between two dates. common fun Days.Companion.between(start: DateTime, endExclusive: DateTime): DaysReturns the number whole days between two date-times, which are assumed to be in the same time zone. common fun Days.Companion.between(start: OffsetDateTime, endExclusive: OffsetDateTime): DaysReturns the number whole days between two date-times, adjusting the offset of endExclusive if necessary to match the starting date-time. common fun Days.Companion.between(start: ZonedDateTime, endExclusive: ZonedDateTime): DaysReturns the number of whole days between two zoned date-times, adjusting the time zone of endExclusive if necessary to match the starting date-time. |