First you must parse your format in the date object using the specified formatter
Integer value = 19000101;
SimpleDateFormat originalFormat = new SimpleDateFormat("yyyyMMdd");
Date date = originalFormat.parse(value.toString());
Remember that the date has no format. It simply represents a specific instance in time in milliseconds starting from 1970-01-01. But if you want to format this date in the expected format, you can use a different formatter.
SimpleDateFormat newFormat = new SimpleDateFormat("yyyy-MM-dd");
String formatedDate = newFormat.format(date);
formatedDate , yyyy-MM-dd