Calendar dateToCalendar(Date date) {
        Calendar calendar = Calendar.getInstance();
        calendar.setTime(date);
        return calendar;
    }
Converts a {@link Date} to {@link Calendar}.
src/android/trigger/TriggerHandler.java