private WikibaseDate check(int year,int month,int day,int hour,int minute,int second){
  WikibaseDate wbDate=new WikibaseDate(year,month,day,hour,minute,second);
  assertEquals(wbDate.toString(),jodaSeconds(year,month,day,hour,minute,second),wbDate.secondsSinceEpoch());
  checkRoundTrip(wbDate);
  return wbDate;
}

private WikibaseDate check ( int year , int month , int day , int hour , int minute , int second ) { WikibaseDate wbDate = new WikibaseDate ( year , month , day , hour , minute , second ) ; assertEquals ( wbDate . toString ( ) , jodaSeconds ( year , month , day , hour , minute , second ) , wbDate . secondsSinceEpoch ( ) ) ; checkRoundTrip ( wbDate ) ; return wbDate ; }
checks that the dates resolve the same way joda - time resolves dates and that they round trip .
