public static boolean date(int h, int m) {
		String hh, mm;
		if (h == 0) {
			if (m < 10)
				return true;
			else {
				mm = m + "";
				return mm.charAt(0) == mm.charAt(1);
			}
		} else if (h < 10) {
			hh = h + "";
			mm = format(m);
			return hh.charAt(0) == mm.charAt(1);
		}
		hh = format(h);
		mm = format(m);
		return hh.equals(((new StringBuilder(mm)).reverse()).toString());
	}