fork(10) download
/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.* ;
import java.time.format.* ;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Locale locale = Locale.US ;
		DateTimeFormatter formatter = 
		    DateTimeFormatter
		    .ofPattern( "EEE, d MMM yyyy HH:mm:ss Z" )
		    .withLocale( locale );
		    
		String input = "Wed, 20 Feb 2019 07:14:06 +0100" ;
		ZonedDateTime zdt = ZonedDateTime.parse( input , formatter ) ;
		String output = zdt.toString() ;
		System.out.println( output );
	}
}
Success #stdin #stdout 0.18s 55328KB
stdin
Standard input is empty
stdout
2019-02-20T07:14:06+01:00