EN · DE · RU · FR · ES

#661: ConfigureHoliday.java

projectforge-business/src/main/java/org/projectforge/framework/calendar/ConfigureHoliday.java Type: Java Class · Package: org.projectforge.framework.calendar · Source: projectforge-business/src/main/java/org/projectforge/framework/calendar/ConfigureHoliday.java 137 lines · 63 code · 52 comments · 22 blank
Java Class implementing ConfigureHoliday.

Annotations

@Override

Fields

TypeField
Stringlabel
HolidayDefinitionid
booleanignore
Integeryear
Integermonth
IntegerdayOfMonth
booleanworkingDay
BigDecimalworkFraction

Methods

ReturnMethodParameters
KaiReinhardk.reinhard@micromata.de
publicConfigureHoliday
StringgetLabel
HolidayDefinitiongetId
IntegergetYear
voidsetYearInteger year
1basedwere 0-based before
ofyearJanuary = 1, December = 12
IntegergetMonth
ofmonth1..31
IntegergetDayOfMonth
booleanisWorkingDay
workingdaye. g. 0.5 for Xmas Eve or Sylvester for an half working * day
BigDecimalgetWorkFraction
thisholidaypre-defined holiday can therefore be disabled

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence.

Git History

CommitWhat changed
868d6abb752025 -> 2026
63081666f6Source file headers: 2024-> 2025.
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
5f7ef41b8cCopyright 2021 -> 2022
cd27dd997cpackage xstream -> xmlstream. (should be replaced by xstream later).
ceb63e8a1bSource code header: (C) 2001-2021.
7c79f1922cCopyright of source header -> 2020.
c0ec2e784eBuchungssatzDO.month, EmployeeSalaryDO.month and ConfigureHoliday.month are now 1-based!!!! (migration of data base and config.xml required!!!!!) data-base is automatically updated by flyway.
d3a178833cWrong substitution of "calendar" -> "datetime" while refactoring, reverted commit from 12.12.2019.
9de5dc2773Merge branch 'develop' into TimeClassReplacements
32f634b88fOptimize imports
dd5ca38acdCopyRight of all java file-header updated or created.
f979e8a429MGC-UPDATE: Update auf Version 3.0.0-SNAPSHOT
9ebb885224Initial commit