示例#1
0
 /**
  * Returns a copy of this ZonedDateTime with the second-of-minute altered.
  *
  * @param integer $second
  *
  * @return ZonedDateTime
  */
 public function withSecond($second)
 {
     return ZonedDateTime::of($this->localDateTime->withSecond($second), $this->timeZone);
 }