public boolean isLastOccurrence() {
        // trigger.in can only be scheduled one time
        return occurrence == 1;
    }
Handles trigger.in

Example:
  trigger: { in: 1, unit: 'hour' }
src/android/trigger/TriggerHandlerIn.java