public class SKDWorkTime
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Double>> |
nonWorkDaysWithModAvail |
Constructor and Description |
---|
SKDWorkTime(java.util.Locale l,
java.util.TimeZone tz)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,SKDShiftWorkTime> |
getCalendarInfo()
Get the calendar work days and craft load.
|
java.util.HashMap<java.lang.String,SKDShiftWorkTime> |
getCalendarInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.Long,java.lang.Double>> craftWorkHoursMap,
java.util.Set<java.lang.String> shiftSet) |
java.util.HashMap<java.lang.String,SKDShiftWorkTime> |
getCalendarInfoFromRange(java.util.Date fromDate,
java.util.Date toDate)
Get the calendar work days and craft load for a given time period.
|
void |
setSKDCalendarInfo(java.util.HashMap<java.lang.String,SKDCalendarInfo> skdCals)
Set calendar information
|
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Double>> nonWorkDaysWithModAvail
public SKDWorkTime(java.util.Locale l, java.util.TimeZone tz)
l
- tz
- public void setSKDCalendarInfo(java.util.HashMap<java.lang.String,SKDCalendarInfo> skdCals)
HashMap
- skdCalspublic java.util.HashMap<java.lang.String,SKDShiftWorkTime> getCalendarInfo()
java.lang.Exception
public java.util.HashMap<java.lang.String,SKDShiftWorkTime> getCalendarInfo(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.Long,java.lang.Double>> craftWorkHoursMap, java.util.Set<java.lang.String> shiftSet)
public java.util.HashMap<java.lang.String,SKDShiftWorkTime> getCalendarInfoFromRange(java.util.Date fromDate, java.util.Date toDate) throws java.lang.Exception
from
- dateto
- datejava.lang.Exception