private WrongValueException outOfRangeValue(Component comp) { final String errmsg = getErrorMessage(comp); if (errmsg != null) return new WrongValueException(comp, errmsg); final String s = _beg != null ? _end != null ? dateToString(comp, _beg, _tzone) + " ~ " + dateToString(comp, _end, _tzone) : ">= " + dateToString(comp, _beg, _tzone) : "<= " + dateToString(comp, _end, _tzone); return new WrongValueException(comp, MZul.OUT_OF_RANGE, s); }