public class BucketRangeDate extends Object implements Bucket
| Constructor and Description |
|---|
BucketRangeDate(String key,
org.joda.time.DateTime from,
org.joda.time.DateTime to,
long docCount) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDocCount() |
Double |
getFrom() |
org.joda.time.DateTime |
getFromAsDate() |
String |
getKey() |
Double |
getTo() |
org.joda.time.DateTime |
getToAsDate() |
String |
toString() |
public BucketRangeDate(String key, org.joda.time.DateTime from, org.joda.time.DateTime to, long docCount)
public long getDocCount()
getDocCount in interface Bucketpublic org.joda.time.DateTime getFromAsDate()
public org.joda.time.DateTime getToAsDate()
Copyright © 2019 Nuxeo. All rights reserved.