PHP의 캘린더 예외 제거

Aspose.Tasks- 캘린더 예외 제거

Aspose.Tasks java for php를 사용하여 캘린더 예외를 제거하려면 removecalendarexception 모듈을 호출하십시오. 여기에서 예제 코드를 볼 수 있습니다.

 1$ project = 새 프로젝트 ( 'test_tasks.mpp');
 2
 3$ cal = $ project-> getCalendars ()-> tolist ()-> get (0);
 4
 5if ((int) (string) ($ cal-> getExceptions ()-> getCount ())> 1) {
 6
 7    $exception = $cal -> getExceptions() -> toList() -> get(0);
 8
 9    $cal -> getExceptions() -> remove($exception);
10
11    print "Removed calendar exception.";
12
13}

실행 코드 다운로드

다운로드 캘린더 예외 제거 (Aspose.Tasks) 아래 언급 된 소셜 코딩 사이트에서 :

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.