private static DateTimeFormatter getSafeDateTimeFormatter(final String pattern) {
		DateTimeFormatter safeFormatter = getDateTimeFormatter(pattern);

		if (Locale.UK.equals(safeFormatter.getLocale())) {
			return safeFormatter.withLocale(Locale.ENGLISH);
		}

		return safeFormatter;
	}
private static DateTimeFormatter getSafeDateTimeFormatter ( final String pattern ) { DateTimeFormatter safeFormatter = getDateTimeFormatter ( pattern ) ; if ( Locale . UK . equals ( safeFormatter . getLocale ( ) ) ) { return safeFormatter . withLocale ( Locale . ENGLISH ) ; } return safeFormatter ; }
work around https://bugs.openjdk.java.net/browse/JDK-8139107