net.sf.mpxj
Class ProjectCalendarHours

java.lang.Object
  extended by net.sf.mpxj.ProjectCalendarDateRanges
      extended by net.sf.mpxj.ProjectCalendarHours
All Implemented Interfaces:
Iterable<DateRange>

public final class ProjectCalendarHours
extends ProjectCalendarDateRanges

This class is used to represent the records in an MPX file that define working hours in a calendar.


Method Summary
 Day getDay()
          Get day.
 ProjectCalendarWeek getParentCalendar()
          Retrieve the parent calendar for these hours.
 void setDay(Day d)
          Set day.
 String toString()
          
 
Methods inherited from class net.sf.mpxj.ProjectCalendarDateRanges
addRange, getRange, getRangeCount, iterator, setRange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getParentCalendar

public ProjectCalendarWeek getParentCalendar()
Retrieve the parent calendar for these hours.

Returns:
parent calendar

getDay

public Day getDay()
Get day.

Returns:
day instance

setDay

public void setDay(Day d)
Set day.

Parameters:
d - day instance

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.