Class DOWMetric

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  DOWMetric.DayOfWeek
      Distinguish between days of the week with the default Enum.toString() methods for display
    • Constructor Summary

      Constructors 
      Constructor Description
      DOWMetric()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue()
      Retrieves a human-readable value associated with the DOWMetric
      (package private) boolean isFinalDay()
      Are we on the final day of the week?
      (package private) void nextDay()
      Increments the value in the expected fashion, assuming the order specified in DOWMetric.DayOfWeek.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DOWMetric

        DOWMetric()
    • Method Detail

      • nextDay

        void nextDay()
        Increments the value in the expected fashion, assuming the order specified in DOWMetric.DayOfWeek. If the final day is reached, the first day is silently selected.
      • isFinalDay

        boolean isFinalDay()
        Are we on the final day of the week?
        Returns:
        Are we on the final day of the week?