Example #1
0
 /**
  * 设置当前期望的时区偏移
  *
  * @access public
  * @param integer $offset
  * @return void
  */
 public static function setTimezoneOffset($offset)
 {
     self::$timezoneOffset = $offset;
     self::$serverTimezoneOffset = idate('Z');
 }