public function secondsBetween(TimeOfDay $other) : int
    {
        return abs($this->dateTime->getTimestamp() - $other->dateTime->getTimestamp());
    }
public function secondsBetween(TimeOfDay $other) : int
    {
        return abs($this->dateTime->getTimestamp() - $other->dateTime->getTimestamp());
    }
public function secondsBetween ( TimeOfDay $ other ) : int { return abs ( $ this -> dateTime -> getTimestamp ( ) - $ other -> dateTime -> getTimestamp ( ) ) ; }
Returns the amount of seconds between the supplied times.

@param TimeOfDay $other

@return int
Returns the amount of seconds between the supplied times .