Package com.aspose.tasks
Class WorkUnit
- java.lang.Object
-
- com.aspose.tasks.WorkUnit
-
public class WorkUnit extends Object
Represents working hours.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getFrom()
Gets the From date.Date
getTo()
Gets the To date.double
getWorkingHours()
Gets the duration of working hours.void
setFrom(Date value)
Sets the From date.void
setTo(Date value)
Sets the To date.void
setWorkingHours(double value)
Sets the duration of working hours.
-
-
-
Method Detail
-
getFrom
public final Date getFrom()
Gets the From date.
- Returns:
- the From date.
-
setFrom
public void setFrom(Date value)
Sets the From date.
- Parameters:
value
- the From date.
-
getTo
public final Date getTo()
Gets the To date.
- Returns:
- the To date.
-
setTo
public final void setTo(Date value)
Sets the To date.
- Parameters:
value
- the To date.
-
getWorkingHours
public final double getWorkingHours()
Gets the duration of working hours.
- Returns:
- the duration of working hours.
-
setWorkingHours
public final void setWorkingHours(double value)
Sets the duration of working hours.
- Parameters:
value
- the duration of working hours.
-
-