stable

Clone or download

Read-only

Build TimePeriodWithoutWeekEnd from end date

Instead of building a time period without week end from (start date, duration) we should be able to build it from (start date, end date). No functional changes since code is not called yet. It will be used during system events for burnup/burndown generations in dedicated commits (in order to not produce a too big review). Part of story #12537: configure my burndown/up & sprint with a start date & end date Change-Id: I64aef1460e0b7d5a708a326f81e281875be50c9a

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheDateRetriever.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_DAILY.php +1 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/BurndownCacheDateRetriever.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartCachedDaysComparator.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_DAILY.php +2 −4 Go to diff View file
M src/common/date/TimePeriodWithoutWeekEnd.class.php +38 −13 Go to diff View file
M tests/phpunit/common/date/TimePeriodWithoutWeekEndTest.php +86 −0 Go to diff View file