GetDuration
내용물
[
숨다
]GetDuration(double)
가져오기Duration
지정된 단위 수와 프로젝트 설정에 정의된 기본 기간 형식을 가진 객체DurationFormat
.
public Duration GetDuration(double val)
모수 | 유형 | 설명 |
---|---|---|
val | Double | 지정된 단위 수. |
반환 값
기간 객체.
또한보십시오
- struct Duration
- class Project
- 네임스페이스 Aspose.Tasks
- 집회 Aspose.Tasks
GetDuration(double, TimeUnitType)
가져오기Duration
지정된 수의 객체TimeUnitType
단위.
public Duration GetDuration(double val, TimeUnitType timeUnit)
모수 | 유형 | 설명 |
---|---|---|
val | Double | 지정된 단위 수. |
timeUnit | TimeUnitType | 지정된 TimeUnitType 값. |
반환 값
기간 객체.
또한보십시오
- struct Duration
- enum TimeUnitType
- class Project
- 네임스페이스 Aspose.Tasks
- 집회 Aspose.Tasks
GetDuration(TimeSpan, TimeUnitType)
가져오기Duration
지정된 객체TimeSpan 값 및 지정TimeUnitType
값.
public Duration GetDuration(TimeSpan timeSpan, TimeUnitType timeUnit)
모수 | 유형 | 설명 |
---|---|---|
timeSpan | TimeSpan | 지정된TimeSpan 값. |
timeUnit | TimeUnitType | 지정된 TimeUnitType 값. |
반환 값
기간 객체.
또한보십시오
- struct Duration
- enum TimeUnitType
- class Project
- 네임스페이스 Aspose.Tasks
- 집회 Aspose.Tasks