Skip to content

cDateStrategyMonthlyFixed::ExistsWeek()

Rainer Stötter edited this page May 9, 2017 · 1 revision

Method ExistsWeek( )

 public   mixed libdatephp\cDateStrategyMonthlyFixed::ExistsWeek(integer $n)

The method ExistsWeek( $n ) returns true, if the week with the number $n is in the list of possible weeks for events

The week numbers are one-based. The value 1 means the first week of a month and 5 the fith week. the value of self::CONST_ANY_WEEK means the 'last week'

Arguments

  • $n integer - <p>the number of the week to search in the list of possible weeks for events</p>

See also

Clone this wiki locally