Class PlanningOverviewUtils
java.lang.Object
ch.tocco.nice2.optional.facilityreservation.impl.actions.planningoverview.PlanningOverviewUtils
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getDaysInMonth
(Month month) static Tuple2
<List<Object>, List<CellStyling>> getDayTitleRow
(String firstColumn, Month month) static org.joda.time.DateTime
getLastInstantOfDay
(org.joda.time.LocalDate input) static Month
getMonth
(org.joda.time.DateTime dateFrom) static @Nullable org.joda.time.DateTime
getStartDate
(@Nullable Entity reservation) static @Nullable org.joda.time.LocalDate
getStartLocalDate
(@Nullable Entity reservation) static org.joda.time.LocalDate
incrementByInterval
(org.joda.time.LocalDate input, String interval) static boolean
isWeekendDay
(Month month, int day) static void
setDefaultFontProperties
(org.apache.poi.xssf.usermodel.XSSFFont font) static org.apache.poi.xssf.usermodel.XSSFCellStyle
setupDefaultCellStyle
(org.apache.poi.xssf.streaming.SXSSFWorkbook workbook)
-
Field Details
-
WEEKEND_HEADER_BACKGROUND
-
WEEKEND_BACKGROUND
-
-
Method Details
-
isWeekendDay
-
getDaysInMonth
-
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
-
getMonth
-
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)
-