Package org.powertac.common.msg
Class TimeslotUpdate
- java.lang.Object
- 
- org.powertac.common.msg.TimeslotUpdate
 
- 
- 
Constructor SummaryConstructors Constructor Description TimeslotUpdate(org.joda.time.Instant postedTime, int firstEnabled, int lastEnabled)
 - 
Method SummaryAll 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- 
getIdpublic long getId() 
 - 
getPostedTimepublic org.joda.time.Instant getPostedTime() 
 - 
getFirstEnabledpublic int getFirstEnabled() Returns the serial number of the first enabled timeslot.
 - 
getLastEnabledpublic int getLastEnabled() Returns the serial number of the first enabled timeslot.
 - 
sizepublic int size() Returns the number of enabled timeslots.
 
- 
 
-