public static Long toLong(Object value, Long defaultValue) {
		return convertQuietly(Long.class, value, defaultValue);
	}
@Test
	public void toLongTest() {
		final String a = " 342324545435435";
		final Long aLong = Convert.toLong(a);
		assertEquals(Long.valueOf(342324545435435L), aLong);
		final long aLong2 = ConverterRegistry.getInstance().convert(long.class, a);
		assertEquals(342324545435435L, aLong2);

		// 带小数测试
		final String b = " 342324545435435.245435435";
		final Long bLong = Convert.toLong(b);
		assertEquals(Long.valueOf(342324545435435L), bLong);
		final long bLong2 = ConverterRegistry.getInstance().convert(long.class, b);
		assertEquals(342324545435435L, bLong2);

		// boolean测试
		final boolean c = true;
		final Long cLong = Convert.toLong(c);
		assertEquals(Long.valueOf(1), cLong);
		final long cLong2 = ConverterRegistry.getInstance().convert(long.class, c);
		assertEquals(1, cLong2);

		// boolean测试
		final String d = "08";
		final Long dLong = Convert.toLong(d);
		assertEquals(Long.valueOf(8), dLong);
		final long dLong2 = ConverterRegistry.getInstance().convert(long.class, d);
		assertEquals(8, dLong2);
	}