Calculates the dates of each service day depending on the start date. Each date will be separated by index in an array, each index represents a day of the services by day.

  • Parameters

    • servicesByDay: undefined | ServicesByDay

      All the services separated by day of a Trip or Itinerary

    • startDate: undefined | Date

      The date that the trip or trip request of those services by day starts

    Returns Date[]

    • an array of Date objects separated by index which represents a day.