protected Date nextStandardDate(Date date,DateTickUnit unit){
  Date previous=previousStandardDate(date,unit);
  Calendar calendar=Calendar.getInstance(this.timeZone,this.locale);
  calendar.setTime(previous);
  calendar.add(unit.getCalendarField(),unit.getMultiple());
  return calendar.getTime();
}

protected Date nextStandardDate ( Date date , DateTickUnit unit ) { Date previous = previousStandardDate ( date , unit ) ; Calendar calendar = Calendar . getInstance ( this . timeZone , this . locale ) ; calendar . setTime ( previous ) ; calendar . add ( unit . getCalendarField ( ) , unit . getMultiple ( ) ) ; return calendar . getTime ( ) ; }
returns the first " standard " date ( based on the specified field and units ) .
