Свойство | Тип | Описание | |
---|---|---|---|
$begin | Horde_Date | ||
$end | Horde_Date |
Метод | Описание | |
---|---|---|
__construct ( mixed $begin, mixed $end ) | Constructor. | |
__toString ( ) | ||
add ( $factor ) | Add a number of seconds to this span, returning the new span | |
includes ( Horde_Date $date ) | Is a Horde_Date within this span? | |
sub ( $factor ) | Subtract a number of seconds from this span, returning the new span. | |
width ( ) | Returns the width of this span in seconds. |
public __construct ( mixed $begin, mixed $end ) | ||
$begin | mixed | Horde_Date or other format accepted by the Horde_Date constructor. |
$end | mixed | Horde_Date or other format accepted by the Horde_Date constructor. |
public add ( $factor ) |
public includes ( Horde_Date $date ) | ||
$date | Horde_Date |
public sub ( $factor ) |