AndroidTimeField

class AndroidTimeField(timestamp: Long, timeZone: String?, allDay: Boolean, tzRegistry: TimeZoneRegistry)

Converts timestamps from the android.provider.CalendarContract.Events.DTSTART or android.provider.CalendarContract.Events.DTEND fields into other representations.

Parameters

timestamp

value of the DTSTART/DTEND field (timestamp in milliseconds)

allDay

whether android.provider.CalendarContract.Events.ALL_DAY is non-null and not zero

Constructors

Link copied to clipboard
constructor(timestamp: Long, timeZone: String?, allDay: Boolean, tzRegistry: TimeZoneRegistry)

Functions

Link copied to clipboard
fun asIcal4jDate(): Date

Converts the given Android date/time into an ical4j date property.