softValidate

fun softValidate(ical: Calendar)

Validates an iCalendar resource.

Debug builds only: throws ValidationException when the resource is invalid. Release builds only: prints a warning to the log when the resource is invalid.

Parameters

ical

iCalendar resource to be validated

Throws

ValidationException

when the resource is invalid (only if BuildConfig.DEBUG is set)