예제 #1
0
 /**
  * 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);
 }