public static DateFormat createFormatter ( String str ) { DateFormat df = new SimpleDateFormat ( str , Locale . UK ) ; df . setTimeZone ( UTC ) ; return df ; }
Creates a SimpleDateFormat with the UK locale .