code: @Override
      public boolean isCalendarTimer() {
  
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "isCalendarTimer: " + this);
  
          // Determine if the calling bean is in a state that allows timer service
          // method access - throws IllegalStateException if not allowed.
          checkTimerAccess();
  
          PersistentTimerTaskHandler taskHandler = getTimerTaskHandler(ALLOW_CACHED_TIMER_IS_CALENDAR_TIMER);
          boolean result = taskHandler.getParsedSchedule() != null;
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "isCalendarTimer: " + result);
          return result;
      }
docs: Query whether this timer is a calendar-based timer.
  
  @return true if this timer is a calendar-based timer.
  
  @throws IllegalStateException If this method is invoked while the
  instance is in a state that does not allow access to this
  method. Also thrown if invoked on a timer that is not a
  calendar-based timer.
  @throws NoSuchObjectLocalException If invoked on a timer that has
  expired or has been cancelled.
  @throws EJBException If this method could not complete due to a
  system-level failure.