format abstract method

String format(
  1. DateTime datetime,
  2. String timeZone
)

Formats the given datetime and timeZone into a string according to the formatter's configured locale and options.

Implementation

String format(DateTime datetime, String timeZone);