code: @Override
      public boolean removeCalendar(String calendarName, Jedis jedis) throws JobPersistenceException {
          final String calendarTriggersSetKey = redisSchema.calendarTriggersSetKey(calendarName);
  
          if(jedis.scard(calendarTriggersSetKey) > 0){
              throw new JobPersistenceException(String.format("There are triggers pointing to calendar %s, so it cannot be removed.", calendarName));
          }
          final String calendarHashKey = redisSchema.calendarHashKey(calendarName);
          Pipeline pipe = jedis.pipelined();
          Response<Long> deleteResponse = pipe.del(calendarHashKey);
          pipe.srem(redisSchema.calendarsSet(), calendarHashKey);
          pipe.sync();
  
          return deleteResponse.get() == 1;
      }
docs: Remove (delete) the <code>{@link org.quartz.Calendar}</code> with the given name.
  @param calendarName the name of the calendar to be removed
  @param jedis a thread-safe Redis connection
  @return true if a calendar with the given name was found and removed