src/Converter/FromJdnConverter.php
public function set(int $jdn)
    {
        if (!$this->isValidInteger($jdn)) {
            throw new InvalidDateException();
        }

        $this->jdn = $jdn;

        $date = static::process($jdn);

        return $this->setDate($date);
    }
public function set(int $jdn)
    {
        if (!$this->isValidInteger($jdn)) {
            throw new InvalidDateException();
        }

        $this->jdn = $jdn;

        $date = static::process($jdn);

        return $this->setDate($date);
    }
public function set ( int $ jdn ) { if ( ! $ this -> isValidInteger ( $ jdn ) ) { throw new InvalidDateException ( ) ; } $ this -> jdn = $ jdn ; $ date = static :: process ( $ jdn ) ; return $ this -> setDate ( $ date ) ; }
Set the JDN for processing.

@param $jdn

@throws \Andegna\Exception\InvalidDateException

@return $this
Set the JDN for processing .