Exemple #1
0
     * @return int the relative index value to time zone names array
     */
    public function zoneNameStyleIndex()
    {
        return $this->zoneNameStyleIndex;
    }
    public function name()
    {
        switch ($this->ordinal) {
            case 0:
                return 'FULL';
            case 1:
                return 'FULL_STANDALONE';
            case 2:
                return 'SHORT';
            case 3:
                return 'SHORT_STANDALONE';
            case 4:
                return 'NARROW';
            case 5:
                return 'NARROW_STANDALONE';
        }
        return '';
    }
    function __toString()
    {
        return $this->name();
    }
}
TextStyle::init();