Class IntervalControlHelper.IntervalRule

    • Field Detail

      • fromHours

        protected int fromHours
      • fromMinutes

        protected int fromMinutes
      • toHours

        protected int toHours
      • toMinutes

        protected int toMinutes
      • delay

        protected long delay
      • days

        protected int[] days
      • reverse

        protected boolean reverse
    • Constructor Detail

      • IntervalRule

        public IntervalRule​(String from,
                            String to,
                            String days,
                            long delay)
    • Method Detail

      • getDelay

        public long getDelay()
      • isTarget

        public boolean isTarget​(int hours,
                                int minutes,
                                int day)
      • compareTime

        protected int compareTime​(int h1,
                                  int m1,
                                  int h2,
                                  int m2)