for (String fieldName : applyTo) {
BlockUtils.setValue(fieldName, outValue, record, parentScope);
}
} catch (IllegalArgumentException ex) {
throw new CheckError(new CheckResult(this, false, from, dateValue,
String.format("Field '%1$s' content '%2$s' does not match date pattern '%3$s'.",
from, dateValue, fromPattern)));
} catch (UnsupportedOperationException ex) {
log.error("joda-time pattern-based parsing is unsupported.", ex);
}