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 number of business days to given dates.
  
  Note that this is different from calling `add_period_and_roll` with
  PeriodType.DAY. For example, adding 5 business days to Monday gives the next
  Monday (unless there are holidays on this week or next Monday). Adding 5
  days and rolling means landing on Saturday and then rolling either to next
  Monday or to Friday of the same week, depending on the roll convention.
  
  If any of the dates in `date_tensor` are not business days, they will be
  rolled to business days before doing the addition. If `roll_convention` is
  `NONE`, and any dates are not business days, an exception is raised.
  
  Args:
    date_tensor: DateTensor of dates to advance from.
    num_days: Tensor of int32 type 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","number","of","business","days","to","given","dates",".","Note","that","this","is","different","from","calling","`","add_period_and_roll","`","with","PeriodType.DAY",".","For","example",",","adding","5","business","days","to","Monday","gives","the","next","Monday","(","unless","there","are","holidays","on","this","week","or","next","Monday",")",".","Adding","5","days","and","rolling","means","landing","on","Saturday","and","then","rolling","either","to","next","Monday","or","to","Friday","of","the","same","week",",","depending","on","the","roll","convention",".","If","any","of","the","dates","in","`","date_tensor","`","are","not","business","days",",","they","will","be","rolled","to","business","days","before","doing","the","addition",".","If","`","roll_convention","`","is","`","NONE","`",",","and","any","dates","are","not","business","days",",","an","exception","is","raised",".","Args",":","date_tensor",":","DateTensor","of","dates","to","advance","from",".","num_days",":","Tensor","of","int32","type","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_business_days(
      self,
      date_tensor,
      num_days,
      roll_convention=constants.BusinessDayConvention.NONE,
  ):
      """Adds given number of business days to given dates.
  
      Note that this is different from calling `add_period_and_roll` with
      PeriodType.DAY. For example, adding 5 business days to Monday gives the next
      Monday (unless there are holidays on this week or next Monday). Adding 5
      days and rolling means landing on Saturday and then rolling either to next
      Monday or to Friday of the same week, depending on the roll convention.
  
      If any of the dates in `date_tensor` are not business days, they will be
      rolled to business days before doing the addition. If `roll_convention` is
      `NONE`, and any dates are not business days, an exception is raised.
  
      Args:
        date_tensor: DateTensor of dates to advance from.
        num_days: Tensor of int32 type 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 4 for calling the HolidayCalendar obj's underlying member method code with example usage: obj.add_business_days(date_tensor, num_days, roll_convention) without return types