Package com.aspose.tasks.cloud.model
Class Duration
java.lang.Object
com.aspose.tasks.cloud.model.Duration
Represents a duration value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets or sets the time interval of duration.Gets or sets the time units which will be used to display duration in MS Project.inthashCode()voidsetTimeSpan(String timeSpan) voidsetTimeUnit(TimeUnitType timeUnit) timeUnit(TimeUnitType timeUnit) toString()
-
Constructor Details
-
Duration
public Duration()
-
-
Method Details
-
timeSpan
-
getTimeSpan
Gets or sets the time interval of duration.- Returns:
- timeSpan
-
setTimeSpan
-
timeUnit
-
getTimeUnit
Gets or sets the time units which will be used to display duration in MS Project.- Returns:
- timeUnit
-
setTimeUnit
-
equals
-
hashCode
public int hashCode() -
toString
-