class_docstr: HolidayCalendar implementation.
  
  Requires the calendar to be bounded. Constructs tables of precomputed values
  of interest for each day in the calendar, which enables better performance
  compared to a more flexible UnboundedHolidayCalendar.
  
  Each instance should be used in the context of only one graph. E.g. one can't
  create a BoundedHolidayCalendar in one tf.function and reuse it in another.
class_docstr_tok: ["HolidayCalendar","implementation",".","Requires","the","calendar","to","be","bounded",".","Constructs","tables","of","precomputed","values","of","interest","for","each","day","in","the","calendar",",","which","enables","better","performance","compared","to","a","more","flexible","UnboundedHolidayCalendar",".","Each","instance","should","be","used","in","the","context","of","only","one","graph",".","E.g",".","one","can't","create","a","BoundedHolidayCalendar","in","one","tf.function","and","reuse","it","in","another","."]
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.
  
      """
      return self.business_days_between(
          date_tensor, date_tensor + period_tensor
      )
  
imports: import attr
  import tensorflow.compat.v2
  from tf_quant_finance.datetime import constants
  from tf_quant_finance.datetime import date_tensor
  from tf_quant_finance.datetime import holiday_calendar
  from tf_quant_finance.datetime import periods
label_desc: Use image node_id 8 for calling the BoundedHolidayCalendar obj's underlying member method code with example usage: obj.business_days_in_period(date_tensor, period_tensor) and returns: self