GetLateDevelopers use case takes in a clock in order to calculate the starting and ending date of the week for retrieving timesheets to pass into the Harvest gateway
ITimeSheetRetriever#RetrieveTimeSheets now has two parameters: IList<TimeSheet> RetrieveTimeSheets(DateTimeOffset dateFrom, DateTimeOffset dateTo);
The HarvestGateway#RetrieveTimeSheets formats these DateTimeOffsets into strings for the GET request parameters for retrieving timesheets
We've made a number of changes:
GetLateDevelopers
use case takes in a clock in order to calculate the starting and ending date of the week for retrieving timesheets to pass into the Harvest gatewayITimeSheetRetriever#RetrieveTimeSheets
now has two parameters:IList<TimeSheet> RetrieveTimeSheets(DateTimeOffset dateFrom, DateTimeOffset dateTo);
HarvestGateway#RetrieveTimeSheets
formats these DateTimeOffsets into strings for theGET
request parameters for retrieving timesheets