|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DaysAllocation
Encapsulates team allocation information. Once returned by the allocation service, this object should be self-contained and contain all information necessary to calculate guaranteed values. Note: This allocation might in fact contain zero working days and hours! Code using this object needs to handle this case appropriately! - all working days (at least one team member is working) for a given version/period / all non-working days (no team member works) - number of working hours per day for a given user/version/period - cumulative number of working hours per day for a given version/period - cumulative number of working hours for a given version/period
Method Summary | |
---|---|
org.joda.time.DateMidnight |
getEndDate()
Contains the end day of the date range provide by this team allocation object |
org.joda.time.DateMidnight |
getStartDate()
Contains the start date of the date range provided by this team allocation object |
java.util.List<org.joda.time.DateMidnight> |
getWorkingDays()
Get all days where at least one team member is working |
int |
getWorkingDaysCount()
Get the number of working days |
boolean |
hasWorkingDays()
Returns whether this allocation object contains any working days |
boolean |
isWorkingDay(org.joda.time.DateMidnight day)
Does the provided DateMidnight object represent a working day? |
Method Detail |
---|
org.joda.time.DateMidnight getStartDate()
org.joda.time.DateMidnight getEndDate()
boolean hasWorkingDays()
int getWorkingDaysCount()
boolean isWorkingDay(org.joda.time.DateMidnight day)
java.util.List<org.joda.time.DateMidnight> getWorkingDays()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |