stable
Clone or download
Read-only
Only few methods were shared, the necessity to have a common base class between TimePeriodWithWeekEnd and TimePeriodWithoutWeekEnd does not worth it anymore (if it ever did). It will be easier to build TimePeriodWithoutWeekEnd from end date or duration with this decoupling. Technical refactoring, no functional changes. Part of story #12537: configure my burndown/up & sprint with a start date & end date Change-Id: I84fee096a962e1b04e50e905b448e6f3a151d6c4
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/date/TimePeriod.class.php | +2 | −99 | Go to diff View file |
M | src/common/date/TimePeriodWithWeekEnd.class.php | +46 | −10 | Go to diff View file |
M | src/common/date/TimePeriodWithoutWeekEnd.class.php | +96 | −9 | Go to diff View file |
M | tests/phpunit/common/date/TimePeriodWithWeekEndTest.php | +0 | −26 | Go to diff View file |