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

@return String the date