Swat/SwatDate.php
public static function getTimeZoneAbbreviation(DateTimeZone $time_zone)
    {
        $abbreviations = self::getTimeZoneAbbreviations();
        $key = $time_zone->getName();

        if (array_key_exists($key, $abbreviations)) {
            $abbreviation = $abbreviations[$key];
        }

        return $abbreviation;
    }
public static function getTimeZoneAbbreviation(DateTimeZone $time_zone)
    {
        $abbreviations = self::getTimeZoneAbbreviations();
        $key = $time_zone->getName();

        if (array_key_exists($key, $abbreviations)) {
            $abbreviation = $abbreviations[$key];
        }

        return $abbreviation;
    }
public static function getTimeZoneAbbreviation ( DateTimeZone $ time_zone ) { $ abbreviations = self :: getTimeZoneAbbreviations ( ) ; $ key = $ time_zone -> getName ( ) ; if ( array_key_exists ( $ key , $ abbreviations ) ) { $ abbreviation = $ abbreviations [ $ key ] ; } return $ abbreviation ; }
Gets an array of time zone abbreviations for a specific time zone

@param DateTimeZone $time_zone the new time zone.

@return array an array containing one or both of
- 'st' for the standard time abbreviation, and
- 'dt' for the daylight time abbreviation.
Gets an array of time zone abbreviations for a specific time zone