import org.joda.time.DateTime;
import org.joda.time.Days;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

public class DateIntervalTest {

	@Before
	public void setUp() throws Exception {}

	@Test
	public void test() {
		DateTime beforeDate = new DateTime(2010, 01, 1, 0, 0);
		DateTime now = new DateTime();

		Days day = Days.daysBetween(beforeDate, now);
		Assert.assertTrue(day.getDays() > 0);
	}

}
