com.bea.wli.worklist.api
Class BusinessTime
java.lang.Object
com.bea.wli.worklist.api.BusinessTime
- All Implemented Interfaces:
- Serializable
- public final class BusinessTime
- extends Object
- implements Serializable
This class is used to store a business time.
A business time is composed of a duration and a business calendar.
A valid duration is for example 0min0hour0day.
If neither calendar name nor user name is specified the system calendar will be used.
If a calendar name is specified, this calendar will be used.
If a user is specified, this user's calendar will be used except if the user has no calendar,
in this case the system calendar will be used.
You should not specify a user name and a calendar name at the same time.
- See Also:
- Serialized Form
BusinessTime
public BusinessTime()
getDuration
public String getDuration()
setDuration
public void setDuration(String duration)
setUserName
public void setUserName(String userName)
getUserName
public String getUserName()
setCalendarName
public void setCalendarName(String calendarName)
getCalendarName
public String getCalendarName()