Свойство | Тип | Описание | |
---|---|---|---|
$negative | boolean |
Метод | Описание | |
---|---|---|
__construct ( DateTime $time, boolean | false $negative = false ) | ||
days ( integer $days ) | ||
get ( integer $format = self::TIMESTAMP ) : DateTime | integer | string | ||
months ( integer $months ) | ||
years ( integer $years ) |
public __construct ( DateTime $time, boolean | false $negative = false ) | ||
$time | DateTime | |
$negative | boolean | false |