Пример #1
0
 /**
  * Sets the system default time zone to the time zone in $id
  *
  * Sets the system default time zone to the time zone in $id
  *
  * @access public
  * @param string $id
  *        	the time zone id to use
  */
 static function setDefault($id)
 {
     if (TimeZone::isValidID($id)) {
         $GLOBALS['_DATE_TIMEZONE_DEFAULT'] = $id;
     }
 }