Skip to main content

isLastOccurenceOfWeekDay static method

[bool] isLastOccurenceOfWeekDay(

  1. [[DateTime] date]

)

Function to check whether cuurent event instance is Last occurence of Week Day.

params:

  • date: Date of the event.

returns:

  • bool: Returns true if the current event instance is the last occurence of the week day.

Implementation

static bool isLastOccurenceOfWeekDay(DateTime date) 
  1. talawa
  2. recurrence_values
  3. RecurrenceUtils
  4. isLastOccurenceOfWeekDay static method
RecurrenceUtils class