Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 954 Rev 965
Line 18... Line 18...
18
			return "";
18
			return "";
19
		}
19
		}
20
		return inputStr.substring(0,1).toUpperCase() + inputStr.substring(1, inputStr.length());
20
		return inputStr.substring(0,1).toUpperCase() + inputStr.substring(1, inputStr.length());
21
	}
21
	}
Line 22... Line 22...
22
	
22
	
23
	public static boolean isEmpty(String inputStr)	{
23
	public static boolean isEmpty(String chaine)	{
-
 
24
		boolean etreVide = false;
-
 
25
		if (chaine == null || chaine.equals("") || chaine.equals("0000-00-00") || chaine.equals("0000-00-00 00:00:00")) {
-
 
26
			etreVide = true;
-
 
27
		}
24
		return inputStr == null || inputStr.equals("");
28
		return etreVide;
Line 25... Line 29...
25
	}
29
	}
26
	
30
	
27
	public static double formaterEnDouble(String nombre)	{
31
	public static double formaterEnDouble(String nombre)	{