Package org.powertac.common.msg
Class TimeslotUpdate
- java.lang.Object
-
- org.powertac.common.msg.TimeslotUpdate
-
-
Constructor Summary
Constructors Constructor Description TimeslotUpdate(org.joda.time.Instant postedTime, int firstEnabled, int lastEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFirstEnabled()Returns the serial number of the first enabled timeslot.longgetId()intgetLastEnabled()Returns the serial number of the first enabled timeslot.org.joda.time.InstantgetPostedTime()intsize()Returns the number of enabled timeslots.
-
-
-
Method Detail
-
getId
public long getId()
-
getPostedTime
public org.joda.time.Instant getPostedTime()
-
getFirstEnabled
public int getFirstEnabled()
Returns the serial number of the first enabled timeslot.
-
getLastEnabled
public int getLastEnabled()
Returns the serial number of the first enabled timeslot.
-
size
public int size()
Returns the number of enabled timeslots.
-
-