Class SimpleScheduler.CronTrigger

    • Constructor Detail

      • CronTrigger

        public CronTrigger​(String id,
                           ZonedDateTime start,
                           com.cronutils.model.Cron cron)
    • Method Detail

      • getNextFireTime

        public Instant getNextFireTime()
        Returns:
        the next time at which the trigger is scheduled to fire, or null if it will not fire again
      • getPreviousFireTime

        public Instant getPreviousFireTime()
        Returns:
        the previous time at which the trigger fired, or null if it has not fired yet