*/ class DateInclusion { /** @var \DateTimeInterface */ public $date; /** @var bool Day of year */ public $hasTime; /** @var bool */ public $isUtcExplicit; /** * Constructor * * @param \DateTimeInterface $date * @param bool $hasTime * @param bool $isUtcExplicit */ public function __construct(\DateTimeInterface $date, $hasTime = true, $isUtcExplicit = false) { $this->date = $date; $this->hasTime = $hasTime; $this->isUtcExplicit = $isUtcExplicit; } }