Example #1
0
 /**
  * @return integer
  */
 public function getSecond()
 {
     return $this->time->getSecond();
 }
Example #2
0
 /**
  * @param integer   $hour   The expected hour.
  * @param integer   $minute The expected minute.
  * @param integer   $second The expected second.
  * @param integer   $nano   The expected nano-of-second.
  * @param LocalTime $time   The local time to test.
  */
 protected function assertLocalTimeIs($hour, $minute, $second, $nano, LocalTime $time)
 {
     $this->compare([$hour, $minute, $second, $nano], [$time->getHour(), $time->getMinute(), $time->getSecond(), $time->getNano()]);
 }