normalizedDates

fun DateListProperty<*>.normalizedDates(): List<Temporal>

Normalizes the date properties to a system-compatible temporal representation. Just like normalizedDate, but for date lists.

Processes the underlying dates or date-times of the DateListProperty to ensure compatibility with content providers by converting ical4j-specific temporal types to system-known types:

  • Converts OffsetDateTime to Instant (UTC timestamp).

  • Converts ZonedDateTime with ical4j-based timezones to ZonedDateTime with system-known ZoneId.

  • Leaves Instant, LocalDate, and other temporal types unchanged.

Return

A list of normalized Temporal objects: - Instant for UTC date-times (originally OffsetDateTime). - ZonedDateTime with system-known ZoneId for date-times with TZID. - Original Temporal type for other cases (Instant, LocalDate, etc.).

See also