#1380: NumberHelper.kt
projectforge-business/src/main/kotlin/org/projectforge/framework/utils/NumberHelper.kt Number Helper, projectforge-business/src/main/kotlin/org/projectforge/framework/utils/NumberHelper.kt 782 lines · 481 code · 239 comments · 62 blank
Helper class for number parsing, comparison, and arithmetic utilities.
Git History
868d6abb7 2025 -> 2026
c624d79b8 PhoneNumberUtils.formatPhoneNumber and AddressTextParser
0a5e9142f Merge branch 'develop' into Creditor-Invoices-Importer
6e9cfe0ae Improvements for CostSearchPagesRest
c2ba57836 WIP: Parsing of creditor invoices.
c21d9772b VacationDao: NPE fix. AITimeSavings.getFraction(...) added (by adding NumberHelper.getFraction(...).
47d42a5bb AI savings: mass update of time-sheets, editing in classic page added, further improvements. Mass-update: Excel sheet with modifications is now stored in the user's personal DataTransfer box.
946458bb7 Forecast supports now closes snapshot dates. Forecast improved.
63081666f Source file headers: 2024-> 2025.
5f9bbfbd3 Fix typos in projectforge-business directory
9f874e26c MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
b6092df09 Copyright 2023 -> 2024
8d38939ab DataTransferArea: Password for external access with increased security: length 10 and special chars.
1854f91aa WIP Sipgate.
c827ecd43 NNumberHelper.extractPhoneNumber removes now (0) in +49 (0) 123456.
7d4ba6d74 NumberHelper.extractPhoneNumber supports now +1 123456 format.
ab45d51fa Copyright 2001-2022 -> 2001-2023.
38bec971a ThreadLocal -> Kotlin
5f7ef41b8 Copyright 2021 -> 2022
35aa18b91 NumberHelper.matchesPhoneNumber accepts now Phone numbers without trailing +<country code>
0ea43f2dd PFUserDO.mobilePhone
0ab100d21 Configuration refactored (GlobalConfiguration not needed anymore). SEPA export should now erease unprintable chars.
abaf0a920 Attachments: show checksum only, if given. DataTransfer: missing i18n keys added. pfTestData.sql fixed. NumberHelper.toBigDecimal -> FormatterUtils.
a13a628ba DataTransfer: mail notification. SendMail.formatUserWithMail(...).
b326f8d23 NumberHelper.parseInteger(String, boolean) for suppressing warn logs.
ea5814551 commons.FormatterUtils.formatBytes(...) added (used now by NumberHelper and JcrUtils). JcrRepos needs maxFileSize as parameter. An exception will be thrown if size is exceeded.
36d70c51b NumberHelper.formatBytes: ### kb -> ###KB (now same format as DataSize format of spring properties).
ceb63e8a1 Source code header: (C) 2001-2021.
e43967f30 SkillMatrix: value of interest and rating is now ensured in int range 0...3.