BusinessTime Class
- 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.
-
Hierarchy
-
Object
BusinessTime
-
All Implemented Interfaces
-
Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessTime
public BusinessTime()
getCalendarName() Method
public String
getCalendarName()
getDuration() Method
public String
getDuration()
getUserName() Method
public String
getUserName()
setCalendarName(String) Method
public void setCalendarName(String
calendarName)
setDuration(String) Method
public void setDuration(String
duration)
setUserName(String) Method
public void setUserName(String
userName)