コード例 #1
0
ファイル: ZonedDateTime.php プロジェクト: brick/date-time
 /**
  * Returns a copy of this ZonedDateTime with the specified period in hours added.
  *
  * @param integer $hours
  *
  * @return ZonedDateTime
  */
 public function plusHours($hours)
 {
     return ZonedDateTime::of($this->localDateTime->plusHours($hours), $this->timeZone);
 }