perfsonar-dev - perfsonar: r5191 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: ma plugins
Subject: perfsonar development work
List archive
perfsonar: r5191 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: ma plugins
Chronological Thread
- From:
- To:
- Subject: perfsonar: r5191 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: ma plugins
- Date: Wed, 17 Jun 2009 14:17:18 -0400
Author: nina
Date: 2009-06-17 14:17:16 -0400 (Wed, 17 Jun 2009)
New Revision: 5191
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/UserData.java
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/TimeRange.java
Log:
Start time initialized by default as the start of the day
Modified: branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/UserData.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/UserData.java
2009-06-17 18:14:54 UTC (rev 5190)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/UserData.java
2009-06-17 18:17:16 UTC (rev 5191)
@@ -199,7 +199,7 @@
direction = DIRECTION.IN;
setQuery(names[INDEX_EVENTTYPE],"utilization");
- setTimeRange(new
TimeRange(System.currentTimeMillis(),TimeRange.getDayRange()));
+ setTimeRange(new
TimeRange(TimeRange.getToday(),TimeRange.getDayRange()));
setQuery(names[INDEX_CONSOLIDATION],"AVERAGE");
setQuery(names[INDEX_RESOLUTION],"300");
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/TimeRange.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/TimeRange.java
2009-06-17 18:14:54 UTC (rev 5190)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/TimeRange.java
2009-06-17 18:17:16 UTC (rev 5191)
@@ -15,7 +15,7 @@
* Default now, 15 min
*/
public TimeRange() {
- this(System.currentTimeMillis(),TimeRange.getDayRange());
+ this(getToday(),TimeRange.getDayRange());
}
public TimeRange(Date start, Date end) {
this.start = start.getTime();
- perfsonar: r5191 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: ma plugins, svnlog, 06/17/2009
Archive powered by MHonArc 2.6.16.