public static boolean isBirthday(int year, int month, int day) {
		// 验证年
		int thisYear = DateUtil.thisYear();
		if (year < 1900 || year > thisYear) {
			return false;
		}

		// 验证月
		if (month < 1 || month > 12) {
			return false;
		}

		// 验证日
		if (day < 1 || day > 31) {
			return false;
		}
		// 检查几个特殊月的最大天数
		if (day == 31 && (month == 4 || month == 6 || month == 9 || month == 11)) {
			return false;
		}
		if (month == 2) {
			// 在2月，非闰年最大28，闰年最大29
			return day < 29 || (day == 29 && DateUtil.isLeapYear(year));
		}
		return true;
	}
@Test
	public void isBirthdayTest() {
		final boolean b = Validator.isBirthday("20150101");
		assertTrue(b);
		final boolean b2 = Validator.isBirthday("2015-01-01");
		assertTrue(b2);
		final boolean b3 = Validator.isBirthday("2015.01.01");
		assertTrue(b3);
		final boolean b4 = Validator.isBirthday("2015年01月01日");
		assertTrue(b4);
		final boolean b5 = Validator.isBirthday("2015.01.01");
		assertTrue(b5);
		final boolean b6 = Validator.isBirthday("2018-08-15");
		assertTrue(b6);

		//验证年非法
		assertFalse(Validator.isBirthday("2095.05.01"));
		//验证月非法
		assertFalse(Validator.isBirthday("2015.13.01"));
		//验证日非法
		assertFalse(Validator.isBirthday("2015.02.29"));
	}