/** * Returns a copy of this LocalDateTime with the second-of-minute altered. * * @param integer $second * * @return LocalDateTime */ public function withSecond($second) { return $this->with($this->date, $this->time->withSecond($second)); }