-
Notifications
You must be signed in to change notification settings - Fork 0
cDateStrategySimpleDate::GetFollower()
Rainer Stötter edited this page May 9, 2017
·
15 revisions
public \libdatephp\cDate libdatephp\cDateStrategy::GetFollower(\libdatephp\cDate $date, \libdatephp\cDate $dt_next, integer $direction)
- Namespace : libdatephp
- Class name: cDateStrategySimpleDate
- This method is defined by libdatephp\cDateStrategy
The method GetFollower( ) returns the next date AFTER $date, which fits to the specifications. $date itself will not be taken into consideration.
- $date libdatephp\cDate - <p>a cDate object, which is the starting point for the next calculation</p>
- $dt_next libdatephp\cDate - <p>GetFollower returns a cDate object, which is the starting point for the next calculation. ie If we are moving backwards and scheduling forward, then a correction is necessary</p>
- $direction integer - <p>the constant, which indicates the search direction. It defaults to DIRECTION_FORWARD</p>
\libdatephp\cDate cDate object with the next fitting date or null, if no fitting date could be found ( overflow, IsUnderflow)
This wiki page is part of the documentation of the PHP class library libdatephp