class_docstr: Represents a holiday calendar.
  
  Provides methods for manipulating the dates taking into account the holidays,
  and the business day roll conventions. Weekends are treated as holidays.
class_docstr_tok: ["Represents","a","holiday","calendar",".","Provides","methods","for","manipulating","the","dates","taking","into","account","the","holidays",",","and","the","business","day","roll","conventions",".","Weekends","are","treated","as","holidays","."]
docstr: Calculates number of business between pairs of dates.
  
  For each pair, the initial date is included in the difference, and the final
  date is excluded. If the final date is the same or earlier than the initial
  date, zero is returned.
  
  Args:
    from_dates: DateTensor of initial dates.
    to_dates: DateTensor of final dates, should be broadcastable to
      `from_dates`.
  
  Returns:
     An int32 Tensor with the number of business days between the
     corresponding pairs of dates.
docstr_tok: ["Calculates","number","of","business","between","pairs","of","dates",".","For","each","pair",",","the","initial","date","is","included","in","the","difference",",","and","the","final","date","is","excluded",".","If","the","final","date","is","the","same","or","earlier","than","the","initial","date",",","zero","is","returned",".","Args",":","from_dates",":","DateTensor","of","initial","dates",".","to_dates",":","DateTensor","of","final","dates",",","should","be","broadcastable","to","`","from_dates","`",".","Returns",":","An","int32","Tensor","with","the","number","of","business","days","between","the","corresponding","pairs","of","dates","."]
code: def business_days_between(self, from_dates, to_dates):
      """Calculates number of business between pairs of dates.
  
      For each pair, the initial date is included in the difference, and the final
      date is excluded. If the final date is the same or earlier than the initial
      date, zero is returned.
  
      Args:
        from_dates: DateTensor of initial dates.
        to_dates: DateTensor of final dates, should be broadcastable to
          `from_dates`.
  
      Returns:
         An int32 Tensor with the number of business days between the
         corresponding pairs of dates.
      """
      pass
  
file_path: tf-quant-finance/tf_quant_finance/datetime/holiday_calendar.py
imports: import abc
  from tf_quant_finance.datetime import constants
label_desc: Use image node_id 8 for calling the HolidayCalendar obj's underlying member method code with example usage: obj.business_days_between(from_dates, to_dates) without return types