Skip to content

cDateStrategyMonthlyFixed::CheckWeek()

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

Method CheckWeek( )

 private   mixed libdatephp\cDateStrategyMonthlyFixed::CheckWeek(integer $w, integer $month, integer $year, integer $wd, integer $direction)

The method CheckWeek( ) corrects the week $w if it is greater than the months' week count or 0

Arguments

  • $w integer - <p>the week of month, which can be changed</p>
  • $month integer - <p>the month</p>
  • $year integer - <p>the year</p>
  • $wd integer - <p>the day of week</p>
  • $direction integer - <p>is the direction DIRECTION_FORWARD or DIRECTION_BACKWARD</p>

Clone this wiki locally