Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
League
Period
Period
durationLessThan
League\Period\Period::durationLessThan PHP Method
Period Class Documentation
Show file
Open project: thephpleague/period
durationLessThan()
public
method
Tells whether the current Period object duration is less than the submitted one.
public
durationLessThan
(
Period
$period
) :
boolean
$period
Period
return
boolean
public function durationLessThan(Period $period) { return -1 === $this->compareDuration($period); }
Period
__construct
__set_state
__toString
abuts
add
compareDuration
contains
containsDatePoint
containsPeriod
convertDateTime
createFromDatepoints
createFromDay
createFromDuration
createFromDurationBeforeEnd
createFromMonth
createFromQuarter
createFromSemester
createFromWeek
createFromYear
createFromYearInterval
dateIntervalDiff
diff
durationGreaterThan
durationLessThan
endingOn
filterDateInterval
filterDatePoint
gap
getDateInterval
getDatePeriod
getEndDate
getStartDate
getTimestampInterval
intersect
isAfter
isBefore
jsonSerialize
merge
move
moveEndDate
moveStartDate
next
overlaps
previous
sameDurationAs
sameValueAs
split
startingOn
sub
timestampIntervalDiff
validateRange
validateYear
withDuration
withDurationBeforeEnd