public class ScheduleValidator extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(ExceptionalRecurrence pException)
Validates a
ExceptionalRecurrence . |
static boolean |
isValid(Recurrence pRecurrence)
Validates a
Recurrence . |
static boolean |
isValid(Schedule pSchedule)
Validates a
Schedule . |
public static boolean isValid(Schedule pSchedule)
pSchedule
- the schedule to validate; can be null
.true
if pSchedule is null
or valid; false
otherwise.public static boolean isValid(Recurrence pRecurrence)
pRecurrence
- the recurrence to validate; can be null
.true
if pRecurrence is not null
and valid; false
otherwise.public static boolean isValid(ExceptionalRecurrence pException)
ExceptionalRecurrence
. This method returns false
, if the exceptional recurrence is
null
.pException
- the exceptional recurrence to validate; can be null
.true
if pException is not null
and valid; false
otherwise.© 1998- 2021 Escenic AS