#1369: PFDateTimeUtils.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/time/PFDateTimeUtils.kt Utils, projectforge-business/src/main/kotlin/org/projectforge/framework/time/PFDateTimeUtils.kt 273 lines · 166 code · 77 comments · 30 blank
Utility object providing date/time operations: begin/end of year, month, week, day calculations; UTC-based date conversion; date parsing (ISO 8601, epoch, various custom formats with timezone support); formatting; and date range checking (isBetween). Defines constant ZoneId/TimeZone references for UTC and Europe/Berlin.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
da93f5df8 WIP: orderbook storage.
1964a7e73 PFDateTimeUtils/DateParser: parsing of epoch seconds/millis improved.
c193e8288 Ical4j: migration stuff... (all tests OK)
6b6a77efc Migration stuff in progress...
b44fd93c6 Migration stuff in progress...
6a9ba0372 Minor improvments in PFDateTimeUtils (regex as field), Companion in PFDayUtils and PFDateTimeUtils replaced by object class.
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
38bec971a ThreadLocal -> Kotlin
56a35f979 WIP: BigCalendar -> Fullcalendar
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
ee8dbaa4c Gantt PFDateTime -> PFDay and PFDayUtils.convertToUtilDate.

#1369: PFDateTimeUtils.kt

Utils, projectforge-business/src/main/kotlin/org/projectforge/framework/time/PFDateTimeUtils.kt
Utility object providing date/time operations: begin/end of year, month, week, day calculations; UTC-based date conversion; date parsing (ISO 8601, epoch, various custom formats with timezone support); formatting; and date range checking (isBetween). Defines constant ZoneId/TimeZone references for UTC and Europe/Berlin.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
da93f5df8 WIP: orderbook storage.
1964a7e73 PFDateTimeUtils/DateParser: parsing of epoch seconds/millis improved.
c193e8288 Ical4j: migration stuff... (all tests OK)
6b6a77efc Migration stuff in progress...
b44fd93c6 Migration stuff in progress...
6a9ba0372 Minor improvments in PFDateTimeUtils (regex as field), Companion in PFDayUtils and PFDateTimeUtils replaced by object class.
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
38bec971a ThreadLocal -> Kotlin
56a35f979 WIP: BigCalendar -> Fullcalendar
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
ee8dbaa4c Gantt PFDateTime -> PFDay and PFDayUtils.convertToUtilDate.