示例#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
  */
 function setDefault($id)
 {
     global $default;
     if (Date_TimeZone::is_validID($id)) {
         $default = $id;
     }
 }