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: 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.
      """
      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 3 for calling the HolidayCalendar obj's underlying member method code with example usage: obj.add_period_and_roll(date_tensor, period_tensor, roll_convention) without return types