-
Notifications
You must be signed in to change notification settings - Fork 0
cDateStrategySimpleInterval::GetPredecessor()
Rainer Stötter edited this page May 9, 2017
·
15 revisions
public \libdatephp\cDate libdatephp\cDateStrategy::GetPredecessor(\libdatephp\cDate $obj_date, \libdatephp\cDate $dt_prev)
- Namespace : libdatephp
- Class name: cDateStrategySimpleInterval
- This method is defined by libdatephp\cDateStrategy
The method GetPredecessor( ) returns the previous date before $obj_date, which fits to the specifications
- $obj_date libdatephp\cDate - <p>a cDate object, where the calculation shoudl start</p>
- $dt_prev libdatephp\cDate - <p>a cDate object, which should be the starting point for the next calculation</p>
\libdatephp\cDate cDate object with the next fitting date or null, if no fitting date could be found ( overflow, underflow)
This wiki page is part of the documentation of the PHP class library libdatephp