@@ -0,0 +1,625 @@
+package de.tblsoft.solr.util;%0A%0Aimport java.text.ParseException;%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Date;%0A%0Apublic class DateUtils %7B%0A%09%0A%09public static String DATE_FORMAT = %22yyyy-MM-dd'T'HH:mm:ssZ%22;%0A%09%0A%09String date2String(Date date) %7B%0A%0A%09%09SimpleDateFormat sdfPipeline = new SimpleDateFormat(%0A%09%09%09%09%22yyyy-MM-dd'T'HH:mm:ssZ%22);%0A%09%09return sdfPipeline.format(date);%0A%0A%09%7D%0A%09%0A%09public static Date getDate(String date) %7B%0A%09%09SimpleDateFormat sdfPipeline = new SimpleDateFormat(%0A%09%09%09%09%22yyyy-MM-dd'T'HH:mm:ssZ%22);%0A%09%09try %7B%0A%09%09%09return sdfPipeline.parse(date);%0A%09%09%7D catch (ParseException e) %7B%0A%09%09%09throw new RuntimeException(e);%0A%09%09%7D%0A%09%09%0A%09%7D%0A%0A%7D%0A

add date utils class