public class OccurrenceHelper
extends java.lang.Object
Constructor and Description |
---|
OccurrenceHelper() |
Modifier and Type | Method and Description |
---|---|
static VTodo |
getOccurrence(VTodo vtodo,
BmDateTime occurrenceDtstart)
Returns an occurrence of a recurring event that occurs a specific date.
|
static java.util.List<VTodo> |
list(VTodo vtodo,
BmDateTime dtstart,
BmDateTime dtend)
Returns a list of occurrences of a recurring event.
|
public static java.util.List<VTodo> list(VTodo vtodo, BmDateTime dtstart, BmDateTime dtend)
vtodo
- the recurring eventdtstart
- the start date of the perioddtend
- the end date of the periodVEvent
public static VTodo getOccurrence(VTodo vtodo, BmDateTime occurrenceDtstart)
vtodo
- the vtodooccurrenceDtstart
- the expected occurrence dateVEvent
if the recurring event occurs at
BmDateTime
occurrenceDtstart. Returns null otherwise.Copyright © 2021. All Rights Reserved.