i tried to convert a date String into a date object, but unfortunately the month is set every time to Jan and I can't figure out why.
String date = "20190522T072424.000Z";
DateFormat sdf = new SimpleDateFormat("yyyyMMDD'T'HHmmss.SSS'Z'");
System.out.println(sdf.parse(date));
Output: Tue Jan 22 07:24:24 CET 2019