for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Kreemers\Period;
use DateTime;
interface Period
{
public function getStart(): DateTime;
public function getEnd(): DateTime;
public function equals(GenericPeriod $period): bool;
public function in(GenericPeriod $period): bool;
public function encloses(GenericPeriod $period): bool;
public function intersects(GenericPeriod $period): bool;
}