Package net.sf.mpxj

Examples of net.sf.mpxj.Day


    * @param day day index
    * @return Day instance
    */
   public static Day getDay(Integer day)
   {
      Day result = null;
      if (day != null)
      {
         result = DAY_ARRAY[day.intValue()];
      }
      return (result);
View Full Code Here


      int periodIndex;
      int index;
      int defaultFlag;
      Date start;
      long duration;
      Day day;

      for (index = 0; index < 7; index++)
      {
         offset = 4 + (60 * index);
         defaultFlag = data==null ? 1 : MPPUtility.getShort(data, offset);
View Full Code Here

            if (daysOfWeek != null)
            {
               for (Record recDay : daysOfWeek.getChildren())
               {
                  // ... for each day of the week
                  Day day = Day.getInstance(Integer.parseInt(recDay.getField()));
                  // Get hours
                  List<Record> recHours = recDay.getChildren();
                  if (recHours.size() == 0)
                  {
                     // No data -> not working
View Full Code Here

    * @param value task type value
    * @return Day instance
    */
   public static Day getInstance(int value)
   {
      Day result = null;

      if (value < 8)
      {
         result = Day.getInstance(value);
      }
View Full Code Here

TOP

Related Classes of net.sf.mpxj.Day

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.