public class MetricRange extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
SHIFT_RANGE |
| Constructor and Description |
|---|
MetricRange() |
MetricRange(Long b,
Long e) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getBegin() |
Long |
getEnd() |
String |
getFormattedRange()
Return a date-formatted representation of the range.
|
void |
setBegin(Long l) |
void |
setEnd(Long l) |
void |
shiftNow()
If the end date is after "now", reset the end to "now" and recalculate the range.
|
String |
toString() |
public static final long SHIFT_RANGE
public Long getBegin()
public void setBegin(Long l)
public Long getEnd()
public void setEnd(Long l)
public void shiftNow()
public String getFormattedRange()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.