String src = "2017-06-13T10:59:19.037+0100 Africa/Lagos";
SimpleDateFormat DATEFORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ zzz");
Date parse = DATEFORMAT.parse(src);
System.out.println(parse);
Instead of getting Tue Jun 13 10:59:19 WAT 2017 I got Tue Jun 13 09:59:19 WAT 2017
Africa/Lagos and WAT are in the same timezone