Daily

data class Daily(val time: LocalTime, val interval: Int) : Frequency

Daily frequency at a specific time.

Constructors

Link copied to clipboard
constructor(time: LocalTime, interval: Int)

Properties

Link copied to clipboard
open override val interval: Int

The interval in days between occurrences.

Link copied to clipboard
open override val time: LocalTime

The time of day for the event.

Link copied to clipboard
open override val type: Frequency.Type

Functions

Link copied to clipboard
open override fun calcNextOccurrence(from: LocalDate, timeZone: TimeZone = TimeZone.currentSystemDefault(), offset: Int = 0): LocalDateTime

Calculates the next occurrence of the event based on the frequency settings.

Link copied to clipboard
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.

Link copied to clipboard