static String javaFormat(DateTime date) { final f = new DateFormat('yyyy-MM-ddTHH:mm'); return f.format(date); }