public Conversion findIntervalConversion(IntervalType fromType, IntervalType toType) { Conversion pointConversion = findConversion(fromType.getPointType(), toType.getPointType(), true); if (pointConversion != null) { return new Conversion(fromType, toType, pointConversion); } return null; }