parse static method
Parses the given textValue
Implementation
static FreeBusyTimeType parse(String textValue) {
switch (textValue) {
case 'FREE':
return FreeBusyTimeType.free;
case 'BUSY':
return FreeBusyTimeType.busy;
case 'BUSY-UNAVAILABLE':
return FreeBusyTimeType.busyUnavailable;
case 'BUSY-TENTATIVE':
return FreeBusyTimeType.busyTentative;
default:
return FreeBusyTimeType.other;
}
}