code: protected void configureDetailedDayView(DetailedDayView newDetailedDayView,
              boolean trimTimeBounds) {
          newDetailedDayView.getDayView().setStartTime(LocalTime.MIN);
          newDetailedDayView.getDayView().setEndTime(LocalTime.MAX);
          newDetailedDayView.getDayView().setEarlyLateHoursStrategy(
                  DayViewBase.EarlyLateHoursStrategy.HIDE);
          newDetailedDayView.getDayView().setHoursLayoutStrategy(
                  DayViewBase.HoursLayoutStrategy.FIXED_HOUR_COUNT);
          newDetailedDayView.getDayView().setVisibleHours(24);
          newDetailedDayView.getDayView().setTrimTimeBounds(trimTimeBounds);
      }
docs: The idea of this method is to be able to change the default configuration
  of the detailed day view in the preview pane.
  
  Especially being able to show all the hours in the the print view
  
  @param newDetailedDayView
  view.
  @param trimTimeBounds
  define if trim or not the hours in the day view