public class HistogramDate extends Object
Modifier and Type | Class and Description |
---|---|
class |
HistogramDate.DateRange |
static class |
HistogramDate.TimeMode |
Modifier and Type | Field and Description |
---|---|
protected Map<HistogramDate.DateRange,Integer> |
data |
protected HistogramDate.DateRange[] |
ranges |
protected HistogramDate.TimeMode |
timeMode |
Constructor and Description |
---|
HistogramDate(List<org.joda.time.DateTime> events) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.joda.time.DateTime value) |
void |
add(List<org.joda.time.DateTime> values) |
int |
computeMaxCount() |
void |
console() |
int |
getCount(int bin) |
Map<HistogramDate.DateRange,Integer> |
getData() |
HistogramDate.DateRange[] |
getRanges() |
HistogramDate.TimeMode |
getTimeMode() |
static org.joda.time.DateTime |
max(List<org.joda.time.DateTime> events) |
static org.joda.time.DateTime |
min(List<org.joda.time.DateTime> events) |
HistogramDate.DateRange[] |
ranges() |
void |
setCount(int bin,
int value) |
protected HistogramDate.TimeMode timeMode
protected HistogramDate.DateRange[] ranges
protected Map<HistogramDate.DateRange,Integer> data
public HistogramDate(List<org.joda.time.DateTime> events)
public void add(List<org.joda.time.DateTime> values)
public void add(org.joda.time.DateTime value)
public HistogramDate.DateRange[] ranges()
public int getCount(int bin)
public void setCount(int bin, int value)
public void console()
public int computeMaxCount()
public HistogramDate.TimeMode getTimeMode()
public HistogramDate.DateRange[] getRanges()
public Map<HistogramDate.DateRange,Integer> getData()
public static org.joda.time.DateTime min(List<org.joda.time.DateTime> events)
public static org.joda.time.DateTime max(List<org.joda.time.DateTime> events)
Copyright © 2016. All rights reserved.