Time Api Extensions
object TimeApiExtensions
Properties
Functions
Link copied to clipboard
Returns the absolute (positive) temporal amount.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ZonedDateTime.toIcal4jDateTime(tzRegistry: TimeZoneRegistry = TimeZoneRegistryFactory.getInstance().createRegistry()): DateTime
Converts this zoned date-time (date/time with specific time zone) to an ical4j DateTime object.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts a TemporalAmount to an RFC5545 duration value, which only uses weeks, days, hours, minutes and seconds. Because years and months can't be used, they're converted to weeks/days using the duration's position in the calendar.
Link copied to clipboard
Link copied to clipboard
TimeZone.toZoneId can't be used with the current desugaring library yet!