code: function generatePublicHolidays(year) {
  
    // return array of generated holidays
    return [
      makeHoliday(
        holidays.valentinesDay(year),
        { name: 'Valentine\'s Day', public: true }
      ),
  
      makeHoliday(
        holidays.easter(year),
        { name: 'Easter', bank: false }
      ),
  
      makeHoliday(
        holidays.mothersDay(year),
        { name: 'Mother\'s Day', public: true }
      ),
  
      makeHoliday(
        holidays.fathersDay(year),
        { name: 'Father\'s Day', public: true }
      ),
  
      makeHoliday(
        holidays.halloween(year),
        { name: 'Halloween', public: true }
      )
    ]
  }
docs: a "@date/holidays generator function". it accepts the year and uses it to calculate all the "public" holidays.