com.ibm.tivoli.maximo.skd.model

Class SKDWorkTime

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.model.SKDWorkTime
  • All Implemented Interfaces:
    java.io.Serializable


    public class SKDWorkTime
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SKDWorkTime(java.util.Locale l, java.util.TimeZone tz)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.HashMap getCalendarInfo()
      Get the calendar work days and craft load.
      java.util.HashMap getCalendarInfo(java.util.HashMap craftWorkHoursMap, java.util.Set shiftSet) 
      java.util.HashMap 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 skdCals)
      Set calendar information
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nonWorkDaysWithModAvail

        public java.util.HashMap nonWorkDaysWithModAvail
    • Constructor Detail

      • SKDWorkTime

        public SKDWorkTime(java.util.Locale l,
                           java.util.TimeZone tz)
        Constructor
        Parameters:
        l -
        tz -
    • Method Detail

      • setSKDCalendarInfo

        public void setSKDCalendarInfo(java.util.HashMap skdCals)
        Set calendar information
        Parameters:
        HashMap - skdCals
      • getCalendarInfo

        public java.util.HashMap getCalendarInfo()
        Get the calendar work days and craft load.
        Returns:
        HashMap - workdays with start and end time,craft load
        Throws:
        java.lang.Exception
      • getCalendarInfo

        public java.util.HashMap getCalendarInfo(java.util.HashMap craftWorkHoursMap,
                                                 java.util.Set shiftSet)
      • getCalendarInfoFromRange

        public java.util.HashMap getCalendarInfoFromRange(java.util.Date fromDate,
                                                          java.util.Date toDate)
                                                   throws java.lang.Exception
        Get the calendar work days and craft load for a given time period.
        Parameters:
        from - date
        to - date
        Returns:
        HashMap - workdays with start and end time,craft load
        Throws:
        java.lang.Exception