Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justedlev/jtc4mm
๐๏ธ Java type converters for ModelMapper
https://github.com/justedlev/jtc4mm
converter converter-library converters java java-11 java-lib java-library maven maven-dependency
Last synced: 9 days ago
JSON representation
๐๏ธ Java type converters for ModelMapper
- Host: GitHub
- URL: https://github.com/justedlev/jtc4mm
- Owner: justedlev
- License: apache-2.0
- Created: 2024-09-19T08:03:05.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-28T19:01:30.000Z (10 days ago)
- Last Synced: 2024-10-28T20:17:45.894Z (10 days ago)
- Topics: converter, converter-library, converters, java, java-11, java-lib, java-library, maven, maven-dependency
- Language: Java
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jtc4mm
๐ Java type converters for ModelMapper
[![language](https://img.shields.io/badge/Java%2011-e6892e?logo=openjdk)](https://github.com/justedlev/jtc4mm)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.justedlev.commons/jtc4mm?logo=apachemaven&label=jtc4mm)](https://central.sonatype.com/search?q=io.justedlev.commons.jtc4mm)
[![license](https://img.shields.io/github/license/justedlev/jtc4mm)](https://www.apache.org/licenses/LICENSE-2.0.txt)
[![stars](https://img.shields.io/github/stars/justedlev/jtc4mm)](https://github.com/Justedlev/jtc4mm/star)
[![issues](https://img.shields.io/github/issues/justedlev/jtc4mm)](https://github.com/Justedlev/jtc4mm/issues)### ๐ค Why?
I was inspired to create __jtc4mm__ (java type converters for ModelMapper),
because I noticed that I often implement converters in my projects,
either as a separate module or inside the project itself
(I believe that Iโm not the only one who encountered this),
so What are you looking for, simple converters for one of the powerful tools of
[ModelMapper](https://modelmapper.org/)### ๐ฅ Maven dependency
```xml
io.github.justedlev.commons
jtc4mm
0.21.13```
### ๐งพ Set
What has already been implemented:
1. Number
- [BigDecimalToDouble](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToDouble.java)
- [BigDecimalToFloat](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToFloat.java)
- [BigDecimalToInteger](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToInteger.java)
- [BigDecimalToLong](src/main/java/io/justedlev/commons/jtc4mm/BigDecimalToLong.java)
- [DoubleToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/DoubleToBigDecimal.java)
- [FloatToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/FloatToBigDecimal.java)
- [IntegerToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/IntegerToBigDecimal.java)
- [LongToBigDecimal](src/main/java/io/justedlev/commons/jtc4mm/LongToBigDecimal.java)
2. Date and time
- [DateToLocalDateTime](src/main/java/io/justedlev/commons/jtc4mm/DateToLocalDateTime.java)
- [DateToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/DateToTimestamp.java)
- [InstantToLocalDateTime](src/main/java/io/justedlev/commons/jtc4mm/InstantToLocalDateTime.java)
- [InstantToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/InstantToTimestamp.java)
- [LocalDateTimeToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/LocalDateTimeToTimestamp.java)
- [LocalDateToTimestamp](src/main/java/io/justedlev/commons/jtc4mm/LocalDateToTimestamp.java)
- [TimestampToLocalDate](src/main/java/io/justedlev/commons/jtc4mm/TimestampToLocalDate.java)
- [TimestampToLocalDateTime](src/main/java/io/justedlev/commons/jtc4mm/TimestampToLocalDateTime.java)
- [LocalDateToSqlDate](src/main/java/io/justedlev/commons/jtc4mm/LocalDateToSqlDate.java)
- [SqlDateToLocalDate](src/main/java/io/justedlev/commons/jtc4mm/SqlDateToLocalDate.java)
3. String
- [ToLowerCase](src/main/java/io/justedlev/commons/jtc4mm/ToLowerCase.java)
- [ToUpperCase](src/main/java/io/justedlev/commons/jtc4mm/ToUpperCase.java)
- [StringToUUID](src/main/java/io/justedlev/commons/jtc4mm/StringToUUID.java)