<< Click to Display Table of Contents >>

TaskHolidayInfo

This class defines a task holiday.


Constructor Detail

TaskHolidayInfo

public TaskHolidayInfo(String name)

Defines the task holiday. The task holiday means the date when the task will not be performed.

Parameters:

name - Task holiday name


Method Detail

getName

public String getName()

Gets task holiday name.

setBaseDay

public void setbaseDay(String pattern)

Set the base day to designate as task holiday.

Parameters:

pattern - Pattern of the baseday

getBaseDay

public String getBaseDay()

Gets the baseday designated as task holiday.

setStart

public void setStart(int start)

Sets how many days before the "baseday" will be holiday.

Parameters:

start - The number of days before the baseday.

getStart

public int getStart()

Gets the number of days before the baseday.

setEnd

public void setEnd(int end)

Sets how many days after the "baseday" will be holiday.

Parameters:

end - The number of days after the baseday.

getEnd

public void getEnd()

Gets the number of days after the baseday.