public class ShiftCalendarInterval extends Object
| Constructor and Description | 
|---|
| ShiftCalendarInterval(Set<Long> jobNumbers,
                                          ShiftDifferentialRule rule,
                                          org.joda.time.LocalDateTime spanBegin,
                                          org.joda.time.LocalDateTime spanEnd,
                                          org.joda.time.DateTimeZone zone) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<Shift> | createShifts(ShiftDifferentialRule rule,
                        org.joda.time.LocalDateTime spanBegin,
                        org.joda.time.LocalDateTime spanEnd,
                        org.joda.time.DateTimeZone zone) | 
| Set<Long> | getJobNumbers() | 
| ShiftDifferentialRule | getRule() | 
| List<Shift> | getShifts() | 
| protected ShiftTypeService | getShiftTypeService() | 
| Map<TimeBlock,List<ShiftBlock>> | getTimeBlockMap() | 
| protected org.joda.time.Interval | incrementShift(org.joda.time.Interval current) | 
| void | placeTimeBlocks(List<TimeBlock> timeBlocks) | 
| protected boolean | ruleIsActiveForDay(org.joda.time.DateTime currentDate,
                                    ShiftDifferentialRule sdr) | 
| void | setJobNumbers(Set<Long> jobNumbers) | 
| void | setRule(ShiftDifferentialRule rule) | 
| void | setShifts(List<Shift> shifts) | 
public ShiftCalendarInterval(Set<Long> jobNumbers, ShiftDifferentialRule rule, org.joda.time.LocalDateTime spanBegin, org.joda.time.LocalDateTime spanEnd, org.joda.time.DateTimeZone zone)
public Set<Long> getJobNumbers()
public void setJobNumbers(Set<Long> jobNumbers)
public ShiftDifferentialRule getRule()
public void setRule(ShiftDifferentialRule rule)
protected List<Shift> createShifts(ShiftDifferentialRule rule, org.joda.time.LocalDateTime spanBegin, org.joda.time.LocalDateTime spanEnd, org.joda.time.DateTimeZone zone)
protected org.joda.time.Interval incrementShift(org.joda.time.Interval current)
public void placeTimeBlocks(List<TimeBlock> timeBlocks)
protected boolean ruleIsActiveForDay(org.joda.time.DateTime currentDate, ShiftDifferentialRule sdr)
public Map<TimeBlock,List<ShiftBlock>> getTimeBlockMap()
protected ShiftTypeService getShiftTypeService()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.