Package-level declarations¶
jvm
Various extensions specific to the Java platform.
Functions¶
| Name | Summary |
|---|---|
| asIslandClock | jvm @JvmName(name = "toIslandClock")Makes this clock compatible with Island Time's Clock interface. |
| now | jvm fun Date.Companion.now(clock: Clock): DateGets the current Date from the provided clock. jvm fun DateTime.Companion.now(clock: Clock): DateTimeGets the current DateTime from the provided clock. jvm fun Instant.Companion.now(clock: Clock): InstantGets the current Instant from the provided clock. jvm fun OffsetDateTime.Companion.now(clock: Clock): OffsetDateTimeGets the current OffsetDateTime from the provided clock. jvm fun OffsetTime.Companion.now(clock: Clock): OffsetTimeGets the current OffsetTime from the provided clock. jvm fun Time.Companion.now(clock: Clock): TimeGets the current Time from the provided clock. jvm fun Year.Companion.now(clock: Clock): YearGets the current Year from the provided clock. jvm fun YearMonth.Companion.now(clock: Clock): YearMonthGets the current YearMonth from the provided clock. jvm fun ZonedDateTime.Companion.now(clock: Clock): ZonedDateTimeGets the current ZonedDateTime from the provided clock. |
| toIslandDate | jvm fun LocalDate.toIslandDate(): DateConverts this date to an equivalent Island Time Date. |
| toIslandDateTime | jvm fun LocalDateTime.toIslandDateTime(): DateTimeConverts this date-time to an equivalent Island Time DateTime. |
| toIslandDuration | jvm fun Duration.toIslandDuration(): DurationConverts this duration to an equivalent Island Time Duration. |
| toIslandInstant | jvm fun Instant.toIslandInstant(): InstantConverts this instant to an equivalent Island Time Instant. |
| toIslandOffsetDateTime | jvm fun OffsetDateTime.toIslandOffsetDateTime(): OffsetDateTimeConverts this date-time to an equivalent Island Time OffsetDateTime. |
| toIslandOffsetTime | jvm fun OffsetTime.toIslandOffsetTime(): OffsetTimeConverts this time to an equivalent Island Time OffsetTime. |
| toIslandPeriod | jvm fun Period.toIslandPeriod(): PeriodConverts this period to an equivalent Island Time Period. |
| toIslandTime | jvm fun LocalTime.toIslandTime(): TimeConverts this time to an equivalent Island Time Time. |
| toIslandTimeZone | jvm fun ZoneId.toIslandTimeZone(): TimeZoneConverts this time zone to an equivalent Island Time TimeZone. |
| toIslandUtcOffset | jvm fun ZoneOffset.toIslandUtcOffset(): UtcOffsetConverts this UTC offset to an equivalent Island Time UtcOffset. |
| toIslandYear | jvm fun Year.toIslandYear(): YearConverts this year to an equivalent Island Time Year. |
| toIslandYearMonth | jvm fun YearMonth.toIslandYearMonth(): YearMonthConverts this year-month to an equivalent Island Time YearMonth. |
| toIslandZonedDateTime | jvm fun ZonedDateTime.toIslandZonedDateTime(): ZonedDateTimeConverts this date-time to an equivalent Island Time ZonedDateTime. |
| toJavaDuration | jvm fun Days.toJavaDuration(): Durationfun Duration.toJavaDuration(): Durationfun Hours.toJavaDuration(): Durationfun Microseconds.toJavaDuration(): Durationfun Milliseconds.toJavaDuration(): Durationfun Minutes.toJavaDuration(): Durationfun Nanoseconds.toJavaDuration(): Durationfun Seconds.toJavaDuration(): DurationConverts this duration to an equivalent Java Duration. |
| toJavaInstant | jvm fun Instant.toJavaInstant(): InstantConverts this instant to an equivalent Java Instant. |
| toJavaLocalDate | jvm fun Date.toJavaLocalDate(): LocalDateConverts this date to an equivalent Java LocalDate. |
| toJavaLocalDateTime | jvm fun DateTime.toJavaLocalDateTime(): LocalDateTimeConverts this date-time to an equivalent Java LocalDateTime. |
| toJavaLocalTime | jvm fun Time.toJavaLocalTime(): LocalTimeConverts this time to an equivalent Java LocalTime. |
| toJavaOffsetDateTime | jvm fun OffsetDateTime.toJavaOffsetDateTime(): OffsetDateTimeConverts this date-time to an equivalent Java OffsetDateTime. |
| toJavaOffsetTime | jvm fun OffsetTime.toJavaOffsetTime(): OffsetTimeConverts this time to an equivalent Java OffsetTime. |
| toJavaPeriod | jvm fun Centuries.toJavaPeriod(): Periodfun Days.toJavaPeriod(): Periodfun Decades.toJavaPeriod(): Periodfun Months.toJavaPeriod(): Periodfun Weeks.toJavaPeriod(): Periodfun Years.toJavaPeriod(): PeriodConverts this duration to an equivalent Java Period.jvm fun Period.toJavaPeriod(): PeriodConverts this period to an equivalent Java Period. |
| toJavaYear | jvm fun Year.toJavaYear(): YearConverts this year to an equivalent Java Year. |
| toJavaYearMonth | jvm fun YearMonth.toJavaYearMonth(): YearMonthConverts this year-month to an equivalent Java YearMonth. |
| toJavaZonedDateTime | jvm fun ZonedDateTime.toJavaZonedDateTime(): ZonedDateTimeConverts this date-time to an equivalent Java ZonedDateTime. |
| toJavaZoneId | jvm fun TimeZone.toJavaZoneId(): ZoneIdConverts this time zone to an equivalent Java ZoneId. |
| toJavaZoneOffset | jvm fun UtcOffset.toJavaZoneOffset(): ZoneOffsetConverts this UTC offset to an equivalent Java ZoneOffset. |