for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Adlogix\EventScheduler\TemporalExpression;
use DateTimeInterface;
/**
* @author Toni Van de Voorde <[email protected]>
*/
final class LeapYear implements TemporalExpressionInterface
{
* {@inheritdoc}
public function includes(DateTimeInterface $date): bool
return $date->format('L') == 1;
}