@Override
      InstantFormatter newFormatter(ZoneId zone, ResolverStyle resolverStyle) {
        return new InstantDateTimeFormatter(zone, resolverStyle);
      }
A formatter that supports the same patterns with {@link java.time.format.DateTimeFormatter}.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/InstantFormatter.java