Bitrix API

DateInclusion

Class DateInclusion is a container for a single \DateTimeInterface.

The purpose of this class is to hold a flag that specifies whether or not the \DateTimeInterface was created from a DATE only, or with a DATETIME.

It also tracks whether or not the inclusion is explicitly set to UTC.

Table of Contents

Properties

$date  : DateTimeInterface
$hasTime  : bool
$isUtcExplicit  : bool

Methods

__construct()  : mixed
Constructor

Properties

Methods

__construct()

Constructor

public __construct(DateTimeInterface $date[, bool $hasTime = true ][, bool $isUtcExplicit = false ]) : mixed
Parameters
$date : DateTimeInterface
$hasTime : bool = true
$isUtcExplicit : bool = false

        
On this page

Search results