Subversion Repositories eFlore/Applications.del

Rev

Rev 1830 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1830 Rev 1862
Line 136... Line 136...
136
		vue.masquerChampsVides();
136
		vue.masquerChampsVides();
137
	}
137
	}
Line 138... Line 138...
138
 
138
 
139
	public String formaterDate(String dateNonFormatee) {
139
	public String formaterDate(String dateNonFormatee) {
140
		try {
140
		try {
141
			String dateFormatee =  DateTimeFormat.getFormat("dd/MM/yyyy").format(UtilitairesServiceResultat.parserDateObservation(dateNonFormatee));
141
			String dateFormatee = DateTimeFormat.getFormat("dd/MM/yyyy").format(UtilitairesServiceResultat.parserDateObservation(dateNonFormatee));
142
			dateFormatee = (dateFormatee == "01/01/1970") ? "???" : dateFormatee ;
142
			dateFormatee = (dateFormatee == "01/01/1970") ? "???" : dateFormatee ;
143
			return dateFormatee;
143
			return dateFormatee;
144
		} catch (IllegalArgumentException e) {
144
		} catch (IllegalArgumentException e) {
145
			return "";
145
			return "";