code: private String getCalendarAsString(Calendar cal) {
  		SimpleDateFormat formatter = getDateTimeFormatter();
  		Date date = cal.getTime();
  		return formatter.format(date).concat("Z");
  	}
docs: Method to get string value of date from Calendar
  
  @return String the date