AndroidAPS
AndroidAPS copied to clipboard
Date util refactor
This replaces the old PRs. Added tests, corrections and improvements
The new tests are in app/aaps/shared/impl/utils/DateUtilImplTest.kt
The old test (app/aaps/core/objects/utils/DateUtilImplTest.kt) for secondsOfTheDayToMilliseconds still fails because the original function actually set the seconds to 0 before outputting ms. I created a new (more appropriately named) function minutesOfTheDayToMilliseconds which does what the old one did.
Quality Gate passed
Issues
3 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code