} else if ((left instanceof IntValue) && (right instanceof IntValue)) {
result = operator.compute((IntValue)left, (IntValue)right);
} else if ((right instanceof DurationValue) &&
(operator instanceof TemporalOperator)) {
TemporalOperator temporalOperator = (TemporalOperator)operator;
DurationValue durationValue = (DurationValue)right;
if (left instanceof DateTimeValue) {
result = temporalOperator.compute((DateTimeValue)left, durationValue);
} else if (left instanceof DurationValue) {
result = temporalOperator.compute((DurationValue)left, durationValue);
} else if (left instanceof DateValue) {