private function seconds()
    {
        // Seconds value can be an integer or float
        if ($this->lexer->isNextTokenAny(array(Lexer::T_INTEGER, Lexer::T_FLOAT))) {
            $seconds = $this->number();

            // Throw exception if seconds are greater than 60
            if ($seconds > 60) {
                throw $this->rangeError('Seconds', 60);
            }

            // Get fractional seconds
            $seconds /= 3600;

            // Match seconds symbol if requirement not colon
            if (Lexer::T_COLON !== $this->nextSymbol) {
                $this->symbol();
            }

            // Return value
            return $seconds;
        }

        // No seconds were present so return 0
        return 0;
    }
private function seconds()
    {
        // Seconds value can be an integer or float
        if ($this->lexer->isNextTokenAny(array(Lexer::T_INTEGER, Lexer::T_FLOAT))) {
            $seconds = $this->number();

            // Throw exception if seconds are greater than 60
            if ($seconds > 60) {
                throw $this->rangeError('Seconds', 60);
            }

            // Get fractional seconds
            $seconds /= 3600;

            // Match seconds symbol if requirement not colon
            if (Lexer::T_COLON !== $this->nextSymbol) {
                $this->symbol();
            }

            // Return value
            return $seconds;
        }

        // No seconds were present so return 0
        return 0;
    }
private function seconds ( ) { // Seconds value can be an integer or float if ( $ this -> lexer -> isNextTokenAny ( array ( Lexer :: T_INTEGER , Lexer :: T_FLOAT ) ) ) { $ seconds = $ this -> number ( ) ; // Throw exception if seconds are greater than 60 if ( $ seconds > 60 ) { throw $ this -> rangeError ( 'Seconds' , 60 ) ; } // Get fractional seconds $ seconds /= 3600 ; // Match seconds symbol if requirement not colon if ( Lexer :: T_COLON !== $ this -> nextSymbol ) { $ this -> symbol ( ) ; } // Return value return $ seconds ; } // No seconds were present so return 0 return 0 ; }
Match and return seconds value

@return float|int
@throws RangeException
Match and return seconds value