calcNextOccurrences

fun calcNextOccurrences(from: LocalDate, count: Int, offset: Int = 0, timeZone: TimeZone = TimeZone.currentSystemDefault()): List<LocalDateTime>

Calculates the next count occurrences of the event based on the frequency settings.

Return

A list of the next occurrences as LocalDateTime objects.

Parameters

from

The starting point to calculate the next occurrences from.

offset

An optional offset to adjust the calculation (default is 0).

count

The number of occurrences to calculate.

timeZone

The time zone to consider for the calculation (defaults to the system's current time zone).