DateTimeFormatter.format

Formats a date-time object using this formatter. !(p) This formats the date-time to a string using the rules of the formatter.

@param temporal the temporal object to format, not null @return the formatted string, not null @throws DateTimeException if an error occurs during formatting

class DateTimeFormatter
string
format

Meta