Skip to content

cDateStrategyDailyFixed::GetNextEventSlot()

Rainer Stötter edited this page May 17, 2017 · 2 revisions

Method GetNextEventSlot( )

 public  abstract   \libdatephp\cDate libdatephp\cDateStrategy::GetNextEventSlot(\libdatephp\cDate $obj_date, integer $direction)

The method GetNextEventSlot( ) returns the next date AFTER $obj_date, WITHOUT checking for special situations or whether the date fits into the strategies' boundaries.

Arguments

  • $obj_date libdatephp\cDate - <p>a cDate object, which is the starting point for the next calculation</p>
  • $direction integer - <p>the constant, which indicates the search direction. It defaults to DIRECTION_FORWARD</p>

Returns

\libdatephp\cDate cDate object with the next fitting date

See also

Clone this wiki locally