code: def calc_dates(
      start_date: datetime.date,
      end_date: datetime.date,
      delta: datetime.timedelta,
  ) -> list[str]:
      dates = []
      dat = copy.deepcopy(start_date)
      while dat <= end_date:
          d = date2str(dat)
          dates.append(d)
          dat += delta
      return dates
  
file_path: FinRL/finrl/meta/data_processors/func.py
imports: from __future__ import annotations
  import copy
  import datetime
  import os
  from datetime import date
  from datetime import timedelta
  from typing import List
  from typing import Tuple
  import numpy
  import pandas
label_desc: Use image node_id 7 for calling a global function with example usage: calc_dates(start_date, end_date, delta) and returns: dates