public static DateTimeUnit createLocalDateUnitInstance(Date date,org.hisp.dhis.calendar.Calendar calendar){
  return calendar.fromIso(DateTimeUnit.fromJdkDate(date));
}

public static DateTimeUnit createLocalDateUnitInstance ( Date date , org . hisp . dhis . calendar . Calendar calendar ) { return calendar . fromIso ( DateTimeUnit . fromJdkDate ( date ) ) ; }
returns an instance of a dateunit .
