Intel

Developer Zone

Calendar.TimeRange

com.intel.util

Class Calendar.TimeRange

  • java.lang.Object
    • com.intel.util.Calendar.TimeRange
  • Enclosing class:
    Calendar


    public abstract static class Calendar.TimeRange
    extends java.lang.Object
    This class represents a time range.
    The time range is closed and bounded from both sides. It means that, point is in the range if and only if point is either strictly between two end-point or is equals to one of the end-points.
    The range can be defined as follows: (start,end) = {x | start
      • Constructor Detail

        • Calendar.TimeRange

          public Calendar.TimeRange()
      • Method Detail

        • contains

          public abstract boolean contains(Calendar.DateTime date)
          Check if DateTime is in the the range or equal to the one of the bound end-points.
          Returns:
          'true' if DateTime is in the range or equal to the one of the bound end-points; 'false' otherwise.