org.powertac.visualizer.services.handlers
Class VisualizerHelperService
java.lang.Object
org.powertac.visualizer.services.handlers.VisualizerHelperService
@Service
public class VisualizerHelperService
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualizerHelperService
public VisualizerHelperService()
getMillisForIndex
public long getMillisForIndex(int index)
getTimeslotIndex
public int getTimeslotIndex(org.joda.time.Instant time)
getSafetyWholesaleTimeslotIndex
public int getSafetyWholesaleTimeslotIndex()
- Returns:
- returns a safe timeslot index for wholesale visualization
purposes. It will return a timeslot index for which all wholesale
trades have been made and thus will not be mutable.
getSafetyTimeslotIndex
public int getSafetyTimeslotIndex()
Copyright © 2013 Power TAC. All Rights Reserved.