PHP Class KGzocha\Searcher\Criteria\DateTimeRangeCriteria

Inheritance: implements KGzocha\Searcher\Criteria\CriteriaInterface
Datei anzeigen Open project: krzysztof-gzocha/searcher

Public Methods

Method Description
__construct ( DateTime $startingDateTime = null, DateTime $endingDateTime = null )
getEndingDateTime ( ) : DateTime
getStartingDateTime ( ) : DateTime
setEndingDateTime ( DateTime $endingDateTime = null ) : DateTimeRangeCriteria
setStartingDateTime ( DateTime $startingDateTime = null ) : DateTimeRangeCriteria
shouldBeApplied ( )

Method Details

__construct() public method

public __construct ( DateTime $startingDateTime = null, DateTime $endingDateTime = null )
$startingDateTime DateTime
$endingDateTime DateTime

getEndingDateTime() public method

public getEndingDateTime ( ) : DateTime
return DateTime

getStartingDateTime() public method

public getStartingDateTime ( ) : DateTime
return DateTime

setEndingDateTime() public method

public setEndingDateTime ( DateTime $endingDateTime = null ) : DateTimeRangeCriteria
$endingDateTime DateTime
return DateTimeRangeCriteria

setStartingDateTime() public method

public setStartingDateTime ( DateTime $startingDateTime = null ) : DateTimeRangeCriteria
$startingDateTime DateTime
return DateTimeRangeCriteria

shouldBeApplied() public method

public shouldBeApplied ( )