class_docstr: HolidayCalendar implementation.
  
  Unlike BoundedHolidayCalendar, doesn't require specifying calendar bounds, and
  supports weekends and holiday supplied as `Tensor`s. However, it is
  (potentially significantly) slower than the dates.HolidayCalendar
  implementation.
class_docstr_tok: ["HolidayCalendar","implementation",".","Unlike","BoundedHolidayCalendar",",","does","n't","require","specifying","calendar","bounds",",","and","supports","weekends","and","holiday","supplied","as","`","Tensor","`","s",".","However",",","it","is","(","potentially","significantly",")","slower","than","the","dates.HolidayCalendar","implementation","."]
docstr: Adds given periods to given dates and rolls to business days.
  
  The original dates are not rolled prior to addition.
  
  Args:
    date_tensor: `DateTensor` of dates to add to.
    period_tensor: PeriodTensor broadcastable to `date_tensor`.
    roll_convention: BusinessDayConvention. Determines how to roll a date that
      falls on a holiday.
  
  Returns:
    The resulting `DateTensor`.
docstr_tok: ["Adds","given","periods","to","given","dates","and","rolls","to","business","days",".","The","original","dates","are","not","rolled","prior","to","addition",".","Args",":","date_tensor",":","`","DateTensor","`","of","dates","to","add","to",".","period_tensor",":","PeriodTensor","broadcastable","to","`","date_tensor","`",".","roll_convention",":","BusinessDayConvention",".","Determines","how","to","roll","a","date","that","falls","on","a","holiday",".","Returns",":","The","resulting","`","DateTensor","`","."]
code: def add_period_and_roll(
      self,
      date_tensor,
      period_tensor,
      roll_convention=constants.BusinessDayConvention.NONE,
  ):
      """Adds given periods to given dates and rolls to business days.
  
      The original dates are not rolled prior to addition.
  
      Args:
        date_tensor: `DateTensor` of dates to add to.
        period_tensor: PeriodTensor broadcastable to `date_tensor`.
        roll_convention: BusinessDayConvention. Determines how to roll a date that
          falls on a holiday.
  
      Returns:
        The resulting `DateTensor`.
      """
      return self.roll_to_business_day(
          date_tensor + period_tensor, roll_convention
      )
  
file_path: tf-quant-finance/tf_quant_finance/datetime/unbounded_holiday_calendar.py
imports: 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 date_utils
  from tf_quant_finance.datetime import holiday_calendar
  from tf_quant_finance.datetime import holiday_utils
  from tf_quant_finance.datetime import periods
label_desc: Use image node_id 5 for calling the UnboundedHolidayCalendar obj's underlying member method code with example usage: obj.add_period_and_roll(date_tensor, period_tensor, roll_convention) and returns: self