public static function getPattern($locale = null, $timezone = null, $date = true, $time = true, $seconds = false)
    {
        $formatter = static::getFormatter($locale, $timezone, $date, $time, $seconds);
        $pattern = $formatter->getPattern();

        return $pattern;
    }
public static function getPattern($locale = null, $timezone = null, $date = true, $time = true, $seconds = false)
    {
        $formatter = static::getFormatter($locale, $timezone, $date, $time, $seconds);
        $pattern = $formatter->getPattern();

        return $pattern;
    }
public static function getPattern ( $ locale = null , $ timezone = null , $ date = true , $ time = true , $ seconds = false ) { $ formatter = static :: getFormatter ( $ locale , $ timezone , $ date , $ time , $ seconds ) ; $ pattern = $ formatter -> getPattern ( ) ; return $ pattern ; }
Get the pattern of localized datetime format.

@param string|null $locale   The locale
@param string|null $timezone The timezone
@param bool        $date     Check if the date must be displayed
@param bool        $time     Check if the time must be displayed
@param bool        $seconds  Check if the time must be displayed with seconds

@return string
Get the pattern of localized datetime format .