java.lang.Object
ch.tocco.nice2.optional.facilityreservation.impl.actions.planningoverview.PlanningOverviewUtils

public abstract class PlanningOverviewUtils extends Object
  • Field Details

    • WEEKEND_HEADER_BACKGROUND

      public static final Color WEEKEND_HEADER_BACKGROUND
    • WEEKEND_BACKGROUND

      public static final Color WEEKEND_BACKGROUND
  • Method Details

    • isWeekendDay

      public static boolean isWeekendDay(Month month, int day)
    • getDaysInMonth

      public static int getDaysInMonth(Month month)
    • getStartDate

      @Nullable public static @Nullable org.joda.time.DateTime getStartDate(@Nullable @Nullable Entity reservation)
    • getStartLocalDate

      @Nullable public static @Nullable org.joda.time.LocalDate getStartLocalDate(@Nullable @Nullable Entity reservation)
    • getLastInstantOfDay

      public static org.joda.time.DateTime getLastInstantOfDay(org.joda.time.LocalDate input)
    • incrementByInterval

      public static org.joda.time.LocalDate incrementByInterval(org.joda.time.LocalDate input, String interval)
    • getDayTitleRow

      public static Tuple2<List<Object>,List<CellStyling>> getDayTitleRow(String firstColumn, Month month)
    • getMonth

      public static Month getMonth(org.joda.time.DateTime dateFrom)
    • setDefaultFontProperties

      public static void setDefaultFontProperties(org.apache.poi.xssf.usermodel.XSSFFont font)
    • setupDefaultCellStyle

      public static org.apache.poi.xssf.usermodel.XSSFCellStyle setupDefaultCellStyle(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook)