protected function _parseRange($value)
    {
        $range = parent::_parseRange($value);
        $lower = $this->_normalize($range['lower']);
        $upper = $this->_normalize($range['upper']);
        if (strtotime($lower) > strtotime($upper)) {
            list($lower, $upper) = [$upper, $lower];
        }

        return [
            'lower' => $lower,
            'upper' => $upper,
        ];
    }
protected function _parseRange($value)
    {
        $range = parent::_parseRange($value);
        $lower = $this->_normalize($range['lower']);
        $upper = $this->_normalize($range['upper']);
        if (strtotime($lower) > strtotime($upper)) {
            list($lower, $upper) = [$upper, $lower];
        }

        return [
            'lower' => $lower,
            'upper' => $upper,
        ];
    }
protected function _parseRange ( $ value ) { $ range = parent :: _parseRange ( $ value ) ; $ lower = $ this -> _normalize ( $ range [ 'lower' ] ) ; $ upper = $ this -> _normalize ( $ range [ 'upper' ] ) ; if ( strtotime ( $ lower ) > strtotime ( $ upper ) ) { list ( $ lower , $ upper ) = [ $ upper , $ lower ] ; } return [ 'lower' => $ lower , 'upper' => $ upper , ] ; }
Parses and extracts lower and upper date values from the given range given
as `lower..upper`.

Dates must be in YEAR-MONTH-DATE format. e.g. `2014-12-30`. It automatically
reorder dates if they are given in inversed order (upper..lower).

@param string $value A date range given as `<dateLower>..<dateUpper>`. For
instance. `2014-12-30..2015-12-30`
@return array Associative array with two keys: `lower` and `upper`, returned
dates are fully PHP compliant
Parses and extracts lower and upper date values from the given range given as lower .. upper .