org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility
Class MetricRange
java.lang.Object
org.rhq.enterprise.gui.legacy.action.resource.common.monitor.visibility.MetricRange
public class MetricRange
- extends Object
SHIFT_RANGE
public static final long SHIFT_RANGE
- See Also:
- Constant Field Values
MetricRange
public MetricRange()
MetricRange
public MetricRange(Long b,
Long e)
getBegin
public Long getBegin()
setBegin
public void setBegin(Long l)
getEnd
public Long getEnd()
setEnd
public void setEnd(Long l)
shiftNow
public void shiftNow()
- If the end date is after "now", reset the end to "now" and recalculate the range.
getFormattedRange
public String getFormattedRange()
- Return a date-formatted representation of the range.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.