public class ShiftBlock extends Object implements Comparable<ShiftBlock>
Constructor and Description |
---|
ShiftBlock(TimeBlock timeBlock,
ShiftDifferentialRule rule,
org.joda.time.Interval shiftInterval,
org.joda.time.DateTimeZone zone) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ShiftBlock o) |
boolean |
exceedsMinHours() |
ShiftDifferentialRule |
getRule() |
long |
getShiftBlockDurationMillis() |
String |
getShiftBlockId() |
org.joda.time.Interval |
getShiftOverlap() |
org.joda.time.DateTime |
getStartTime() |
TimeBlock |
getTimeBlock() |
String |
getTimeBlockId() |
org.joda.time.Interval |
getTimeBlockInterval() |
TimeBlock |
getTimeBlockKey() |
boolean |
isApplyPremium() |
void |
setApplyPremium(boolean applyPremium) |
void |
setRule(ShiftDifferentialRule rule) |
void |
setShiftOverlap(org.joda.time.Interval shiftOverlap) |
void |
setStartTime(org.joda.time.DateTime startTime) |
void |
setTimeBlock(TimeBlock timeBlock) |
void |
setTimeBlockInterval(org.joda.time.Interval timeBlockInterval) |
public ShiftBlock(TimeBlock timeBlock, ShiftDifferentialRule rule, org.joda.time.Interval shiftInterval, org.joda.time.DateTimeZone zone)
public long getShiftBlockDurationMillis()
public ShiftDifferentialRule getRule()
public void setRule(ShiftDifferentialRule rule)
public TimeBlock getTimeBlock()
public TimeBlock getTimeBlockKey()
public void setTimeBlock(TimeBlock timeBlock)
public org.joda.time.Interval getTimeBlockInterval()
public void setTimeBlockInterval(org.joda.time.Interval timeBlockInterval)
public org.joda.time.Interval getShiftOverlap()
public void setShiftOverlap(org.joda.time.Interval shiftOverlap)
public org.joda.time.DateTime getStartTime()
public void setStartTime(org.joda.time.DateTime startTime)
public String getTimeBlockId()
public String getShiftBlockId()
public boolean isApplyPremium()
public void setApplyPremium(boolean applyPremium)
public int compareTo(ShiftBlock o)
compareTo
in interface Comparable<ShiftBlock>
public boolean exceedsMinHours()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.