Handling Occurrences for Exceptions in PHP

Aspose.Tasks - Handling Occurrences for Exceptions

To Handle Occurrences for Exceptions using Aspose.Tasks Java for PHP, simply invoke HandleOccurrencesForExceptions module. Here you can see example code.

1$except = new CalendarException();
2$except->setEnteredByOccurrences(true);
3$except->setOccurrences(5);
4$calendarExceptionType = new CalendarExceptionType();
5$except->setType($calendarExceptionType->YearlyByDay);
6print "Set Occurrences for exceptions";

Download Running Code

Download Handling Occurrences for Exceptions (Aspose.Tasks) from any of the below mentioned social coding sites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.