The documentation for FormatUniversalTime and FormatLocalTime don’t show the arguments in the argument list. The actual arguments are (String format,String locale)
Also shouldn’t the FormatUniversalTime example use FormatUniversalTime not FormatLocalTime?