protected function valueIsSet($message = 'Interval is undefined') { if (self::isDateInterval(parent::valueIsSet($message)->value) === false) { throw new exceptions\logic($message); } return $this; }