DateTimeFormatterBuilder builder = new DateTimeFormatterBuilder()
.append(DateTimeFormat.forPattern(formats[0]).withZone(DateTimeZone.UTC).getPrinter(), parsers);
formatter = builder.toFormatter();
}
}
return new FormatDateTimeFormatter(input, formatter.withZone(DateTimeZone.UTC));
}
}