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 days in a period.
  
  Includes the dates in `date_tensor`, but excludes final dates resulting from
  addition of `period_tensor`.
  
  Args:
    date_tensor: DateTensor of starting dates.
    period_tensor: PeriodTensor, should be broadcastable to `date_tensor`.
  
  Returns:
     An int32 Tensor with the number of business days in given periods that
     start at given dates.
docstr_tok: ["Calculates","number","of","business","days","in","a","period",".","Includes","the","dates","in","`","date_tensor","`",",","but","excludes","final","dates","resulting","from","addition","of","`","period_tensor","`",".","Args",":","date_tensor",":","DateTensor","of","starting","dates",".","period_tensor",":","PeriodTensor",",","should","be","broadcastable","to","`","date_tensor","`",".","Returns",":","An","int32","Tensor","with","the","number","of","business","days","in","given","periods","that","start","at","given","dates","."]
code: def business_days_in_period(self, date_tensor, period_tensor):
      """Calculates number of business days in a period.
  
      Includes the dates in `date_tensor`, but excludes final dates resulting from
      addition of `period_tensor`.
  
      Args:
        date_tensor: DateTensor of starting dates.
        period_tensor: PeriodTensor, should be broadcastable to `date_tensor`.
  
      Returns:
         An int32 Tensor with the number of business days in given periods that
         start at given 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 7 for calling the HolidayCalendar obj's underlying member method code with example usage: obj.business_days_in_period(date_tensor, period_tensor) without return types