code: public static long parseDate(int year, int month, int date) {
  
          Calendar calendar = Calendar.getInstance();
          calendar.set(year, month, date);
          return calendar.getTime().getTime();
      }
docs: Returns the long value of a date created by the given integer values.<p>
  
  @param year the integer value of year
  @param month the integer value of month
  @param date the integer value of date
  
  @return the long value of a date created by the given integer values