code: public static Calendar toCalendar(final Date date) {
          final Calendar c = Calendar.getInstance();
          c.setTime(date);
          return c;
      }
docs: Converts a {@code Date} into a {@code Calendar}.
  
  @param date the date to convert to a Calendar
  @return the created Calendar
  @throws NullPointerException if null is passed in
  @since 3.0