private String makeTimesText(long startTime,long endTime){
  String startTimeText=makeTimeText(startTime,fixedStartTime);
  String endTimeText=makeTimeText(endTime,fixedEndTime);
  String text=startTimeText + " - " + endTimeText;
  if (fixedStartTime <= 0 && currentRange > 0) {
    text+=" (" + duration(currentRange) + "h)";
  }
  return text;
}

private String makeTimesText ( long startTime , long endTime ) { String startTimeText = makeTimeText ( startTime , fixedStartTime ) ; String endTimeText = makeTimeText ( endTime , fixedEndTime ) ; String text = startTimeText + " - " + endTimeText ; if ( fixedStartTime <= 0 && currentRange > 0 ) { text += " (" + duration ( currentRange ) + "h)" ; } return text ; }
make the text for the start and end time , taking into consideration whether a specific range is displayed .
