DateInterval::format
DatePeriod::__construct
Date/Time
PHP Manual
The DatePeriod class
简介
Representation of date period.
类摘要
DatePeriod
implements
Traversable
{
/* 常量 */
const
integer
DatePeriod::EXCLUDE_START_DATE
= 1
;
/* 方法 */
public
__construct
(
DateTime
$start
,
DateInterval
$interval
,
int
$recurrences
[,
int
$options
] )
public
__construct
(
DateTime
$start
,
DateInterval
$interval
,
DateTime
$end
[,
int
$options
] )
public
__construct
(
string
$isostr
[,
int
$options
] )
}
预定义常量
DatePeriod Node Types
DatePeriod::EXCLUDE_START_DATE
Exclude start date, used in
DatePeriod::__construct()
.
Table of Contents
DatePeriod::__construct
— Creates new DatePeriod object
DateInterval::format
DatePeriod::__construct
Date/Time
PHP Manual