public abstract class AbsoluteRange extends TimeRange
| Modifier and Type | Class and Description |
|---|---|
static class |
AbsoluteRange.Builder |
| Constructor and Description |
|---|
AbsoluteRange() |
| Modifier and Type | Method and Description |
|---|---|
static AbsoluteRange.Builder |
builder() |
static AbsoluteRange |
create(org.joda.time.DateTime from,
org.joda.time.DateTime to) |
static AbsoluteRange |
create(String type,
org.joda.time.DateTime from,
org.joda.time.DateTime to) |
static AbsoluteRange |
create(String from,
String to) |
abstract org.joda.time.DateTime |
from() |
org.joda.time.DateTime |
getFrom() |
Map<String,Object> |
getPersistedConfig() |
org.joda.time.DateTime |
getTo() |
abstract org.joda.time.DateTime |
to() |
abstract String |
type() |
public static final String ABSOLUTE
public abstract org.joda.time.DateTime from()
public abstract org.joda.time.DateTime to()
public static AbsoluteRange.Builder builder()
public static AbsoluteRange create(String type, org.joda.time.DateTime from, org.joda.time.DateTime to)
public static AbsoluteRange create(org.joda.time.DateTime from, org.joda.time.DateTime to)
public static AbsoluteRange create(String from, String to) throws InvalidRangeParametersException
InvalidRangeParametersExceptionpublic Map<String,Object> getPersistedConfig()
getPersistedConfig in class TimeRangeCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.