java.lang.Object
com.couchbase.client.java.search.result.facets.DateRange

@Experimental
@Public
public class DateRange
extends Object
A range (or bucket) for a DateRangeFacetResult. Counts the number of matches that fall into the named range (which can overlap with other user-defined ranges).
Since:
2.3.0
Author:
Simon Baslé, Michael Nitschinger
  • Constructor Details

  • Method Details

    • name

      public String name()
    • start

      public Date start()
    • end

      public Date end()
    • count

      public long count()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object