Class RVDateRange

java.lang.Object
io.revealbi.core.RVDateRange

public class RVDateRange extends Object
Class used to represent a date range for filtering.
  • Constructor Details

    • RVDateRange

      public RVDateRange()
      Creates a new date range with null values for From and To properties
    • RVDateRange

      public RVDateRange(Calendar fromDate, Calendar toDate)
      Creates a new date range with the specified values for From and To properties
      Parameters:
      fromDate - The beginning of the range
      toDate - The end of the range
  • Method Details

    • getFrom

      public Calendar getFrom()
      The beginning of the range.
      Returns:
      The beginning of the range.
    • getTo

      public Calendar getTo()
      The end of the range
      Returns:
      The end of the range