calcNextOccurrence
abstract fun calcNextOccurrence(after: LocalDateTime, timeZone: TimeZone = TimeZone.currentSystemDefault()): LocalDateTime
Calculates the first occurrence strictly after after, based on the frequency settings.
Return
The next occurrence as a LocalDateTime.
Parameters
after
The local date and time after which to calculate the next occurrence.
timeZone
The time zone to consider for the calculation (defaults to the system's current time zone).
Calculates the next occurrence after the current time.
Return
The next occurrence as a LocalDateTime.
Parameters
timeZone
The time zone to consider for the calculation (defaults to the system's current time zone).