This content has been marked as final. Show 2 replies
SimpleDateFormat does not have a method 'format' that takes only a long as a parameter. 'Cannot resolve symbol' means that the variable or method you attempted to use does not exist.
That is the API for SimpleDateFormat. Read it and you'll see that the format() method requires 3 parameters: a Date, a StringBuffer, and a FieldPosition