Class TimeDateTimer

java.lang.Object
io.camunda.zeebe.model.bpmn.util.time.TimeDateTimer
All Implemented Interfaces:
Timer

public class TimeDateTimer extends Object implements Timer
  • Constructor Details

    • TimeDateTimer

      public TimeDateTimer(Interval interval)
    • TimeDateTimer

      public TimeDateTimer(ZonedDateTime dateTime)
  • Method Details

    • parse

      public static TimeDateTimer parse(String timeDate)
    • getInterval

      public Interval getInterval()
      Specified by:
      getInterval in interface Timer
    • getRepetitions

      public int getRepetitions()
      Specified by:
      getRepetitions in interface Timer
    • getDueDate

      public long getDueDate(long fromEpochMillis)
      Returns the instant represented by this timeDate in milliseconds.
      Specified by:
      getDueDate in interface Timer
      Parameters:
      fromEpochMillis - this parameter is ignored since base of this date is always the standard epoch (1970-01-01T00:00:00Z).
      Returns:
      the timeDate as milliseconds since the epoch