src/OaiPmh/Harvester.php
protected function getRecordsByDate($from = null, $set = null, $until = null)
    {
        $params = ['metadataPrefix' => $this->metadataPrefix];
        if (!empty($from)) {
            $params['from'] = $from;
        }
        if (!empty($set)) {
            $params['set'] = $set;
        }
        if (!empty($until)) {
            $params['until'] = $until;
        }
        return $this->getRecords($params);
    }
protected function getRecordsByDate($from = null, $set = null, $until = null)
    {
        $params = ['metadataPrefix' => $this->metadataPrefix];
        if (!empty($from)) {
            $params['from'] = $from;
        }
        if (!empty($set)) {
            $params['set'] = $set;
        }
        if (!empty($until)) {
            $params['until'] = $until;
        }
        return $this->getRecords($params);
    }
protected function getRecordsByDate ( $ from = null , $ set = null , $ until = null ) { $ params = [ 'metadataPrefix' => $ this -> metadataPrefix ] ; if ( ! empty ( $ from ) ) { $ params [ 'from' ] = $ from ; } if ( ! empty ( $ set ) ) { $ params [ 'set' ] = $ set ; } if ( ! empty ( $ until ) ) { $ params [ 'until' ] = $ until ; } return $ this -> getRecords ( $ params ) ; }
Harvest records via OAI-PMH using date and set.

@param string $from  Harvest start date (null for no specific start).
@param string $set   Set to harvest (null for all records).
@param string $until Harvest end date (null for no specific end).

@return mixed        Resumption token if provided, false if finished
Harvest records via OAI - PMH using date and set .