Provide a brief summary of the planned work
The project is using various approaches to date-time management. We should streamline those approaches into using only one approach – Java 8 Date-Time API.
Detailed overview
Due to historical reasons and migrations, the project currently uses various date-time management approaches:
- SQL Date
- SQL Date Time
- Java (7) Date Time
- Java (8) Date Time
- Joda Time
- Kotlin Date Time
Now that the project is more stable, we can use a single approach — the present day's standard: Java 8 Date Time. Time management happens on every layer, so there's no one place to look at and solve the problems from there.
Hint/location:
https://www.baeldung.com/java-8-date-time-intro
com.appifyhub.monolith.features.user.domain.service.SignupCodeServiceImplTest#cleanDates
com.appifyhub.monolith.util.extension.DateExtensionsKt#truncateTo
List the acceptance criteria
- All other date-time management approaches have been eliminated from the codebase
- Additional Gradle dependencies have been removed
- [optional] JodaTime is removed from
build.gradle.kts
- Tests are updated to reflect those changes, and passing
- If needed, documentation is updated to reflect these changes
Include any additional notes (optional)
No response
Provide a brief summary of the planned work
The project is using various approaches to date-time management. We should streamline those approaches into using only one approach – Java 8 Date-Time API.
Detailed overview
Due to historical reasons and migrations, the project currently uses various date-time management approaches:
Now that the project is more stable, we can use a single approach — the present day's standard: Java 8 Date Time. Time management happens on every layer, so there's no one place to look at and solve the problems from there.
Hint/location:
List the acceptance criteria
build.gradle.ktsInclude any additional notes (optional)
No response