class_docstr: Generates schedules containing every business day in a period.
docstr: Returns the dates as computed from the schedule as a DateTensor.
  
  Constructs the date schedule from the supplied data. For more details see
  the initializer docstring.
  
  Returns:
    `DateTensor` of rank one more than `start_date` or `end_date`
    (depending on `backwards`), representing schedules for each element
    of the input.
docstr_tok: ["Returns","the","dates","as","computed","from","the","schedule","as","a","DateTensor",".","Constructs","the","date","schedule","from","the","supplied","data",".","For","more","details","see","the","initializer","docstring",".","Returns",":","`","DateTensor","`","of","rank","one","more","than","`","start_date","`","or","`","end_date","`","(","depending","on","`","backwards","`",")",",","representing","schedules","for","each","element","of","the","input","."]
code: def dates(self):
      """Returns the dates as computed from the schedule as a DateTensor.
  
      Constructs the date schedule from the supplied data. For more details see
      the initializer docstring.
  
      Returns:
        `DateTensor` of rank one more than `start_date` or `end_date`
        (depending on `backwards`), representing schedules for each element
        of the input.
      """
      return _gen_business_days(
          self._start_date,
          self._end_date,
          self._holiday_calendar,
          self._backward,
      )
  
imports: import tensorflow.compat.v2
  from tf_quant_finance.datetime import constants
  from tf_quant_finance.datetime import date_tensor
label_desc: Use image node_id 2 for calling the BusinessDaySchedule obj's underlying member method code with example usage: obj.dates() and returns: _gen_business_days