#1365: IPFDate.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/time/IPFDate.kt Interface, projectforge-business/src/main/kotlin/org/projectforge/framework/time/IPFDate.kt 165 lines · 71 code · 52 comments · 42 blank
Core date interface for ProjectForge date types. Defines contract for year, month, day, week, formatting, comparison (isBefore/isAfter/isSameDay), arithmetic (plusDays, minusMonths, etc.), and holiday/weekend checks. Implemented by both PFDateTime and PFDay.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
38bec971a ThreadLocal -> Kotlin
7b417a67f WIP: DataTransfer: notification
4827784b5 WIP: DataTransfer mail notification. IPFDate.isHoliday and isHolidayOrWeekend implemented.
9f20b7577 WIP: time sheet mass update
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
66c1835a3 IPFDate.withDayOfWeek(DayOfWeek) added.
bf7b36d61 PFDay and PFDateTime supports now formatting of dates in user's dateformat, locale and timezone.
194ae2e64 Holidays -> Kotlin, PFDayUtilsTest.getNextWorkingDay implemented, ...
7c79f1922 Copyright of source header -> 2020.
a1c287b49 Week of year is now globally the same (independant from user's locale, dependent on configured default locale in projectforge.properties.
4b53b6562 PFDate -> PFDay, IPFDate introduced..