| com.projity.pm.time.ImmutableInterval com.projity.pm.calendar.WorkRange
WorkRange | public class WorkRange extends ImmutableInterval implements Cloneable,Serializable(Code) | | Immutable work range corresponding to start and end times during the day.
There is also an overtime flag - this is how Sciforma handles overtime. MS Project does not do it this way.
I think, however, that Sciforma is superior in this regard, so I have included an overtime flag here.
|
Constructor Summary | |
public | WorkRange(long start, long end) | public | WorkRange(long start, long end, boolean overtime) |
serialVersionUID | final static long serialVersionUID(Code) | | |
calcWorkingHours | public long calcWorkingHours()(Code) | | |
getNormalized | public static Date getNormalized(long time)(Code) | | |
getNormalizedEndTime | public Date getNormalizedEndTime()(Code) | | |
getNormalizedStartTime | public Date getNormalizedStartTime()(Code) | | |
isOvertime | public boolean isOvertime()(Code) | | Returns the overtime. |
setOvertime | public void setOvertime(boolean overtime)(Code) | | Parameters: overtime - The overtime to set. |
|
|