Function dateRange

指定された開始日と終了日の範囲内の全ての日付を含む配列を生成します。

  • Parameters

    • startDate: Date

      範囲の開始日

    • endDate: Date

      範囲の終了日

    Returns Date[]

    startDateからendDateまでの日付を含むDateオブジェクトの配列