Package io.islandtime.darwin¶
darwin
Various extensions specific to the Apple platform.
Functions¶
Name | Summary |
---|---|
toIslandDate | darwin fun <ERROR CLASS>.toIslandDate(): Date Converts this set of date components to an Island Time Date. |
toIslandDateTime | darwin fun <ERROR CLASS>.toIslandDateTime(): DateTime Converts this set of date components to an Island Time DateTime. |
toIslandDateTimeAt | darwin fun <ERROR CLASS>.toIslandDateTimeAt(nsTimeZone: <ERROR CLASS>): <ERROR CLASS> Converts this NSDate to an Island Time DateTime at the specified time zone.darwin fun <ERROR CLASS>.toIslandDateTimeAt(offset: UtcOffset): DateTime Converts this NSDate to an Island Time DateTime at the specified UTC offset. |
toIslandInstant | darwin fun <ERROR CLASS>.toIslandInstant(): Instant Converts this NSDate to an Island Time Instant. |
toIslandInstantInterval | darwin fun <ERROR CLASS>.toIslandInstantInterval(): InstantInterval Converts this interval to an equivalent Island Time InstantInterval. |
toIslandOffsetDateTime | darwin fun <ERROR CLASS>.toIslandOffsetDateTime(): Nothing Converts this set of date components to an Island Time OffsetDateTime. |
toIslandOffsetDateTimeAt | darwin fun <ERROR CLASS>.toIslandOffsetDateTimeAt(nsTimeZone: <ERROR CLASS>): OffsetDateTime Converts this NSDate to an Island Time OffsetDateTime at the specified time zone.darwin fun <ERROR CLASS>.toIslandOffsetDateTimeAt(offset: UtcOffset): OffsetDateTime Converts this NSDate to an Island Time OffsetDateTime at the specified offset. |
toIslandOffsetDateTimeOrNull | darwin fun <ERROR CLASS>.toIslandOffsetDateTimeOrNull(): OffsetDateTime? Converts this set of date components to an Island Time OffsetDateTime, or null if the timeZone property is absent. |
toIslandTime | darwin fun <ERROR CLASS>.toIslandTime(): Time Converts this set of date components to an Island Time Time. |
toIslandTimeZone | darwin fun <ERROR CLASS>.toIslandTimeZone(): TimeZone Converts this NSTimeZone` to an Island Time TimeZone with the same identifier. |
toIslandUtcOffsetAt | darwin fun <ERROR CLASS>.toIslandUtcOffsetAt(date: <ERROR CLASS>): UtcOffset Converts this NSTimeZone to an Island Time UtcOffset at the provided date. |
toIslandZonedDateTime | darwin fun <ERROR CLASS>.toIslandZonedDateTime(): Nothing Converts this set of date components to an Island Time ZonedDateTime. |
toIslandZonedDateTimeAt | darwin fun <ERROR CLASS>.toIslandZonedDateTimeAt(nsTimeZone: <ERROR CLASS>): <ERROR CLASS> fun <ERROR CLASS>.toIslandZonedDateTimeAt(zone: TimeZone): ZonedDateTime Converts this NSDate to an Island Time ZonedDateTime at the specified time zone. |
toIslandZonedDateTimeOrNull | darwin fun <ERROR CLASS>.toIslandZonedDateTimeOrNull(): ZonedDateTime? Converts this set of date components to an Island Time ZonedDateTime, or null if the timeZone property is absent. |
toNSDate | darwin fun <T> TimePoint<T>.toNSDate(): <ERROR CLASS> Converts this time point to an NSDate . |
toNSDateComponents | darwin fun Date.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> Converts this date to an equivalent NSDateComponents object.darwin fun DateTime.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> fun OffsetDateTime.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> fun ZonedDateTime.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> Converts this date-time to an equivalent NSDateComponents object.darwin fun OffsetTime.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> fun Time.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> Converts this time to an equivalent NSDateComponents object.darwin fun Year.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> Converts this year to an equivalent NSDateComponents object.darwin fun YearMonth.toNSDateComponents(includeCalendar: Boolean = false): <ERROR CLASS> Converts this year-month to an equivalent NSDateComponents object. |
toNSDateInterval | darwin fun <T : TimePoint<T>> TimePointInterval<T>.toNSDateInterval(): <ERROR CLASS> Converts this interval to an equivalent NSDateInterval . |
toNSDateIntervalOrNull | darwin fun <T : TimePoint<T>> TimePointInterval<T>.toNSDateIntervalOrNull(): <ERROR CLASS>? Converts this interval to an equivalent NSDateInterval , or null if the interval is unbounded. |
toNSTimeInterval | darwin fun Days.toNSTimeInterval(): <ERROR CLASS> fun Duration.toNSTimeInterval(): <ERROR CLASS> fun Hours.toNSTimeInterval(): <ERROR CLASS> fun Microseconds.toNSTimeInterval(): <ERROR CLASS> fun Milliseconds.toNSTimeInterval(): <ERROR CLASS> fun Minutes.toNSTimeInterval(): <ERROR CLASS> fun Nanoseconds.toNSTimeInterval(): <ERROR CLASS> fun Seconds.toNSTimeInterval(): <ERROR CLASS> Converts this duration to an equivalent NSTimeInterval . |
toNSTimeZone | darwin fun TimeZone.toNSTimeZone(): <ERROR CLASS> Converts this time zone to an NSTimeZone .darwin fun UtcOffset.toNSTimeZone(): <ERROR CLASS> Converts this offset into an equivalent NSTimeZone with a fixed UTC offset. |
toNSTimeZoneOrNull | darwin fun TimeZone.toNSTimeZoneOrNull(): <ERROR CLASS>? Converts this time zone to an NSTimeZone , or null if the identifier isn't recognized as valid for an NSTimeZone . |