org.hyperic.hq.ui.action.resource.common.monitor.visibility
Class MetricRange
java.lang.Object
org.hyperic.hq.ui.action.resource.common.monitor.visibility.MetricRange
public class MetricRange
- extends java.lang.Object
Method Summary |
java.lang.Long |
getBegin()
|
java.lang.Long |
getEnd()
|
java.lang.String |
getFormattedRange()
Return a date-formatted representation of the range. |
void |
setBegin(java.lang.Long l)
|
void |
setEnd(java.lang.Long l)
|
void |
shiftNow()
If the end date is after "now", reset the end to "now" and
recalculate the range. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SHIFT_RANGE
public static final long SHIFT_RANGE
- See Also:
- Constant Field Values
MetricRange
public MetricRange()
MetricRange
public MetricRange(java.lang.Long b,
java.lang.Long e)
getBegin
public java.lang.Long getBegin()
setBegin
public void setBegin(java.lang.Long l)
getEnd
public java.lang.Long getEnd()
setEnd
public void setEnd(java.lang.Long l)
shiftNow
public void shiftNow()
- If the end date is after "now", reset the end to "now" and
recalculate the range.
getFormattedRange
public java.lang.String getFormattedRange()
- Return a date-formatted representation of the range.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.