class_docstr: Abstract interface to create holidays following certain rules.
docstr: Initializes holiday object with a given set a rules.  Normally
  classes just have the rules defined within them.
  
  Parameters
  ----------
  name : str
      Name of the holiday calendar, defaults to class name
  rules : array of Holiday objects
      A set of rules used to create the holidays.
code: def __init__(self, name=None, rules=None) -> None:
      """
      Initializes holiday object with a given set a rules.  Normally
      classes just have the rules defined within them.
  
      Parameters
      ----------
      name : str
          Name of the holiday calendar, defaults to class name
      rules : array of Holiday objects
          A set of rules used to create the holidays.
      """
      super().__init__()
      if name is None:
          name = type(self).__name__
      self.name = name
  
      if rules is not None:
          self.rules = rules
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta
  import warnings
  from dateutil.relativedelta import FR, MO, SA, SU, TH, TU, WE
  import numpy
  from pandas.errors import PerformanceWarning
  from pandas import DateOffset, DatetimeIndex, Series, Timestamp, concat, date_range
  from pandas.tseries.offsets import Day, Easter
label_desc: Use image node_id 1 to create a new AbstractHolidayCalendar object  with example: obj = AbstractHolidayCalendar(name, rules)