Add Date Type
- Dominant language
- Java
- Stars
- 25
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
There is already a [LocalDateTime](https://github.com/eeverman/andhow/blob/homepage/andhow-core/src/main/java/org/yarnandtail/andhow/property/LocalDateTimeProp.java), so task is a lot of copy/paste.
If you are unfamiliar with the project, please look over the [AndHow Site](https://www.andhowconfig.org/) to get a basic understanding of what AndHow is, in particular, how [Properties](https://www.andhowconfig.org/user-guide/andhow-properties) are used.
For this task:
- Be sure to work from the main branch
- Create a new LocalDateType, similar to [LocalDateTimeType](https://github.com/eeverman/andhow/blob/homepage/andhow-core/src/main/java/org/yarnandtail/andhow/valuetype/LocalDateTimeType.java) except based on java.time.LocalDate.
- Create a new LocalDateValidator, similar to [LocalDateTimeValidator](https://github.com/eeverman/andhow/blob/homepage/andhow-core/src/main/java/org/yarnandtail/andhow/valid/LocalDateTimeValidator.java), but using the java.time.LocalDate type.
- Create a new LocalDateProp, similar to [LocalDateTimeProp](https://github.com/eeverman/andhow/blob/homepage/andhow-core/src/main/java/org/yarnandtail/andhow/property/LocalDateTimeProp.java), except using your new LocalDateType and LocalDateValidator, and basically replacing references to LocalDateTime to LocalDate.
- Create new tests for each class (can be copied from existing test classes)
Contributor guide
Assessment
This issue has not been assessed yet.