code: public static Calendar create(long timeInMilliseconds) {
      Calendar dateTime = Calendar.getInstance();
      dateTime.clear();
      dateTime.setTimeInMillis(timeInMilliseconds);
      return dateTime;
    }
docs: Creates a Calendar instance with a date and time set to the time in milliseconds.
  
  @param timeInMilliseconds a long value indicating the number of milliseconds since the EPOCH.
  @return a Calendar instance initialized with the specified date/time in milliseconds.
  @see java.util.Calendar