String result = "dd.MM.yyyy HH:MM:ss";
String result = "dd.MM.yyyy HH:mm:ss";
	public static String getDate(int format) {			    String result = "dd.MM.yyyy HH:MM:ss";				switch (format) {			case Define.DATE_DATE: result = "dd.MM.yyyy"; break;			case Define.DATE_TIME: result = "HH:MM:ss"; break;			case Define.DATE_BOTH: result = "dd.MM.yyyy HH:MM:ss"; break;		}		GregorianCalendar cal = new GregorianCalendar();	    SimpleDateFormat sdf = new SimpleDateFormat(result);	    return sdf.format(cal.getTime());	}