-
Notifications
You must be signed in to change notification settings - Fork 0
cDateStrategySimpleDate::AdjustedUnderOverflow()
Rainer Stötter edited this page May 9, 2017
·
2 revisions
public mixed libdatephp\cDateStrategy::AdjustedUnderOverflow(\libdatephp\cDate $date_test, integer $direction)
- Namespace : libdatephp
- Class name: cDateStrategySimpleDate
- This method is defined by libdatephp\cDateStrategy
The method AdjustedUnderOverflow( ) adjusts the cDate $date_test, when it is not inside the boundaries of the specifications of the actual strategy.
If no adjustment is possible ( overflow and DIRECTION_FORWARD or underflow and DIRECTION_BACKWARD ), then $date_test is set to null
- $date_test libdatephp\cDate - <p>the date, which should be adjusted</p>
- $direction integer - <p>the actual direction; defaults to DIRECTION_FORWARD</p>
This wiki page is part of the documentation of the PHP class library libdatephp