EN · DE · RU · FR · ES

#667: MonthHolder.java

projectforge-business/src/main/java/org/projectforge/framework/calendar/MonthHolder.java Type: Java Class · Package: org.projectforge.framework.calendar · Source: projectforge-business/src/main/java/org/projectforge/framework/calendar/MonthHolder.java 174 lines · 101 code · 42 comments · 31 blank
Java Class implementing MonthHolder.

Fields

TypeField
Listweeks
intyear
Monthmonth
PFDaybegin
PFDayend

Methods

ReturnMethodParameters
KaiReinhardk.reinhard@micromata.de
monthnamese. g. needed for I18n
publicMonthHolder
publicMonthHolderfinal PFDay date
publicMonthHolderfinal PFDateTime dateTime
PFDaygetDayfinal Month month, final int dayOfMonth
publicMonthHolderfinal Date date
publicMonthHolderfinal int year, final Month month
voidcalculatePFDay date
firstweekwith days of previous month
newWeekHolderday
intgetYear
MonthgetMonth
ListgetDays
StringgetMonthKey

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
ceb63e8a1bSource code header: (C) 2001-2021.
b209e00baePFDay.from -> from, fromOrNow, fromOrNull, PFDateTime.from -> from, fromOrNow, fromOrNull
7c79f1922cCopyright of source header -> 2020.
d3a178833cWrong substitution of "calendar" -> "datetime" while refactoring, reverted commit from 12.12.2019.
4b53b65623PFDate -> PFDay, IPFDate introduced..
8c31eba2a3Heavy WIP: migration of Calendar, DateHolder, DayHolder etc.
6c21e2c922WIP: Migration to PFDate and PFDateTime.
13cfb03302WIP: Migration to PFDate and PFDateTime.
24019a0f57Eliminate DateHolder occurences
f3730113a9Replace more occurences of joda.time, java.util.Calendar
9de5dc2773Merge branch 'develop' into TimeClassReplacements
1dc951c034Remove instances of DayHolder
73a9755df7More code cleanup: - Collapsed catch blocks that did the exact same things - Replaced ArrayList with ArrayList<> - Replaced StringBuffer with StringBuilder - Removed a few usages of deprecated classes (mainly HSSFColors in Excel) - Replace Collections.sort with List.sort
32f634b88fOptimize imports
000ca723d8Remove pointless boolean expressions (business)
dd5ca38acdCopyRight of all java file-header updated or created.
9ebb885224Initial commit