Module: Asposetasksjava::HandleOccurrencesForExceptions

Defined in:
lib/asposetasksjava/Calendars/handleoccurrencesforexceptions.rb

Instance Method Summary collapse

Instance Method Details

#initializeObject



3
4
5
6
7
8
9
10
# File 'lib/asposetasksjava/Calendars/handleoccurrencesforexceptions.rb', line 3

def initialize()
    except = Rjb::import('com.aspose.tasks.CalendarException').new
    except.setEnteredByOccurrences(true)
    except.setOccurrences(5)
    except.setType(Rjb::import('com.aspose.tasks.CalendarExceptionType').YearlyByDay)

    puts "Set Occurences for exeptions"
end