Commit Graph

71 Commits

Author SHA1 Message Date
fabianArbeit f0bda09710 updated standalone classes 2025-08-11 11:12:42 +02:00
fabianArbeit 1f1e06a8e1 - fixed property call 2025-08-11 10:51:09 +02:00
fabianArbeit 1e40a19b69 - static methods above instance methods
- consistent spelling
2025-08-11 10:50:27 +02:00
fabianArbeit 45bee2714b - added setter for totalMinutes
- removed dilemma about overriding setEndTime AND setTotalMinutes etc.
2025-08-08 15:01:50 +02:00
fabianArbeit 971bf22495 - handle negative endTimeOffset
- deduplicated code
2025-08-08 14:58:37 +02:00
fabianArbeit e6ef9ec87f cleanup 2025-08-08 14:57:21 +02:00
fabianArbeit 7fc7efd166 fix: divide properly 2025-08-08 14:10:53 +02:00
fabianArbeit 23d73ee19d BD suffix not needed anymore 2025-08-08 14:10:19 +02:00
fabianArbeit 853beb07d2 comment out debug statements 2025-08-08 14:08:40 +02:00
fabianArbeit e88c1a3d49 - More precise calculation thanks to BigDecimals
- instead of adding one and ignore the postdecimals in FormatTools.minutesToTimeString, round to integer
2025-08-06 12:17:54 +02:00
fabianArbeit d0687c9568 better debug preparation 2025-08-06 12:14:00 +02:00
fabianArbeit d9553ace7a central evaluation of passed minutes 2025-08-06 12:13:23 +02:00
fabianArbeit f8e1b13ae5 more elegant handling of pre-lunch-time/ shorter total times in general 2025-08-06 10:31:31 +02:00
fabianArbeit f5474a59fa fixed build script 2025-08-06 10:28:16 +02:00
fabianArbeit d87e503cfe correctly declare thrown exceptions 2025-07-31 10:10:21 +02:00
fabianArbeit ad25f48116 reintroduced lost setter 2025-07-31 10:09:56 +02:00
fabianArbeit 2231cf9b3f - fixed compile error
(public interfaces need their own file, apparently)
2025-07-31 10:09:18 +02:00
fabianArbeit f854d2460c adjusted standalone classes (approximately) to state of classes in project 2025-07-31 09:55:06 +02:00
fabianArbeit 591e256fa5 added simple compilation "script" 2025-07-31 09:53:36 +02:00
fabianArbeit 64d29125e9 removed unused code 2025-07-31 09:53:02 +02:00
fabianArbeit 710ff47a79 fixed missing qualifier 2025-07-31 09:52:34 +02:00
fabianArbeit 34fcaf32fe - cleaned up unused variable
- renamed parameter
2025-07-31 09:48:45 +02:00
fabianArbeit 4753243c10 - save calculated Value in named constant
- cleanup unused code
- comment out redundant printed information
2025-07-31 09:47:46 +02:00
fabianArbeit eed441343c new project structure
- use objects and inheritance
- enabled combined version for drinking and loading bar without impacting any of them
2025-07-30 13:42:18 +02:00
fabianArbeit 84a2a94064 prompt for lunch only until expected lunch time 2025-07-30 13:39:37 +02:00
fabianArbeit ccb9c06f98 do not call the other wrapper, call the real method directly 2025-07-30 13:38:22 +02:00
fabianArbeit c3be3892bd improved input verification 2025-07-29 09:39:35 +02:00
fabianArbeit 468403801b - show progress to next drinking interval
- show minutes until next drinking interval
2025-07-28 09:31:25 +02:00
fabianArbeit b2800a2f78 (partially in last commit) - add volume to current litres to respect it in all future calculations (foreshadowing) 2025-07-28 09:29:18 +02:00
fabianArbeit 4581cec622 removed clutter 2025-07-28 09:27:07 +02:00
fabianArbeit dc99ca2ee4 first version of class that tracks target liquid intake over time 2025-07-22 09:23:52 +02:00
fabianArbeit d73f2e0cd4 improve readability 2025-07-22 09:21:47 +02:00
fabianArbeit 7cab32467d fix error when mittagspauseDuration is null 2025-07-22 09:21:23 +02:00
fabianArbeit a77c8e3e5f use constants 2025-07-22 09:15:11 +02:00
fabianArbeit c9d33e6f76 show info about end time to help decide offset/ manual end time 2025-07-14 15:34:38 +02:00
fabianArbeit e0750ef26f helper methods for printing to stdout 2025-07-07 09:03:48 +02:00
fabianArbeit f8ed1d185b truncate (almost) all datetimes to minutes for more precise calculation 2025-07-07 09:02:47 +02:00
fabianArbeit b472d0dcba better handling of start time beginning in the future 2025-07-07 08:57:03 +02:00
fabianArbeit 474c0210cd fixed copy + paste error 2025-06-19 08:05:53 +02:00
fabianArbeit 9075dcf0a3 optionally prompt or parse for parameters 2025-04-30 09:16:38 +02:00
fabianArbeit 9fe2163b6e enable prompting for parameters if no args are given 2025-04-30 09:14:57 +02:00
fabianArbeit 44d981d845 better variable naming 2025-04-16 10:30:08 +02:00
fabianArbeit f264a67915 verwende reale Restschuld zur Zinsbetragberechnung 2025-03-27 09:57:09 +01:00
fabianArbeit f384c6d1d0 bessere Reihenfolge 2025-03-27 09:02:39 +01:00
fabianArbeit d0306217bb verwende nicht-veraltete Klassen 2025-03-27 09:00:33 +01:00
fabianArbeit f1b585c945 Drucke Kreditjahr UND Kalenderjahr, wenn angemessen 2025-03-27 09:00:14 +01:00
fabianArbeit c4357aebcd Beabsichtigte Restschuld eingebaut 2025-03-27 08:49:48 +01:00
fabianArbeit b0c6af37d1 ermögliche Angabe von Laufzeit in Jahren und Monaten 2025-03-26 16:40:52 +01:00
fabianArbeit 014c7f4786 Sondertilgung optional 2025-03-26 16:40:14 +01:00
fabianArbeit 20641043d3 kommandozeile als Standard-Eingabeform 2025-03-26 15:51:08 +01:00