public function getRangeFormatPattern($short=false, $maxDifference='Y')
    {
        return $this->translator->translate(
            sprintf(
                'Intl_Format_Interval_%s_%s',
                $short ? 'Short' : 'Long',
                $maxDifference
            ));
    }
public function getRangeFormatPattern($short=false, $maxDifference='Y')
    {
        return $this->translator->translate(
            sprintf(
                'Intl_Format_Interval_%s_%s',
                $short ? 'Short' : 'Long',
                $maxDifference
            ));
    }
public function getRangeFormatPattern ( $ short = false , $ maxDifference = 'Y' ) { return $ this -> translator -> translate ( sprintf ( 'Intl_Format_Interval_%s_%s' , $ short ? 'Short' : 'Long' , $ maxDifference ) ) ; }
Returns interval format pattern for the given format type

@param bool $short  whether to return short or long format pattern
@param string $maxDifference  maximal difference in interval dates (Y, M or D)

@return string
Returns interval format pattern for the given format type