Releases: sami-eljabali/java-time-fun
Releases · sami-eljabali/java-time-fun
4.0.3
4.0.2
✨ Enhancements
- Add Start/End of Month methods #97
🧹 Housekeeping
🔨 Dependencies
- Bump kotlin from 2.1.21 to 2.2.21 #78, #91
- Bump junit from 5.8.1 to 6.0.1 #93
- Bump actions/checkout from 4 to 6 #84, #95
- Bump actions/setup-java from 4 to 5 #86
- Bump Gradle Wrapper from 8.14.2 to 9.2.1 #80, #83, #88, #92, #94
Full Changelog: 4.0.1...4.0.2
4.0.1
4.0.0
This includes a major revamp of the library with breaking changes. In essence found passing zoneId wherever applicable a lot more flexible, understandable, and easy to use especially when defaulted to system's time zone.
✨ Changes
- Parsing logic of ZonedDateTime:
- Removed MSFT Date parsing support.
- Removed acceptance of LocalDate and LocalDateTime as fallbacks.
- Parsing logic of LocalDateTime:
- Removed acceptance of LocalDate as fallback.
- Pass ZoneId wherever applicable, defaulted to system time zone.
- Rename LocalTimeUtil, LocalDateTimeUtil, etc, to end with "Factory" instead.
- Rename startOfThisYear/endOfThisYear to startOfYear/endOfYear respectively.
- Added ZoneIds.
🔨 Dependencies
- Bump Kotlin from 2.1.10 to 2.1.20
- Bump org.jetbrains.dokka from 1.9.10 to 1.9.20
- Bump Gradle from 8.12.1 to 8.13
Full Changelog: 3.1.1...4.0.0
3.1.1
✨ Enhancements
- LocalDateTime > Add 5 second fraction parsing #51
🧹 Housekeeping
- Add Dependabot #44
- update publish to use SONATYPE_TOKEN #50
- Fix maven license #52
- Bump from 3.1.0 to 3.1.1 #53
🔨 Dependencies
- Bump io.github.gradle-nexus.publish-plugin from 1.3.0 to 2.0.0 #45
Contributors
- @seljabali, @dependabot
Full Changelog: 3.1.0...3.1.1
3.1.0
✨ Enhancements
- Add more flexibility in LocalDateTime parsing #40
🔨 Dependencies
Contributors
@seljabali
Full Changelog: 3.0.0...3.1.0
3.0.0
✨ Enhancements
- Rename parse methods to use to instead of parse #34
Received feedback that the verb parse is a bit verbose and to is preferable with String parse extensions.
Before & After:
- "01:30 AM".parseLocalTime()
+ "01:30 AM".toLocalTime()
- "2021-06-07".parseLocalDate()
+ "2021-06-07".toLocalDate()
- "06/07/2021".parseLocalDate(format = "MM/dd/yyyy")
+ "06/07/2021".toLocalDate(format = "MM/dd/yyyy")
- "2021-10-04T10:10:00+0000".parseZonedDateTime()
+ "2021-10-04T10:10:00+0000".toZonedDateTime()Contributors
@seljabali
Full Changelog: 2.1.0...3.0.0
2.1.0
✨ Enhancements
- Add More Day/Time Comparison Extensions #30
Contributors
@seljabali
Full Changelog: 2.0.0...2.1.0
2.0.0
✨ Enhancements
- Add Date & Calendar extensions #26
Contributors
@seljabali
Full Changelog: 1.0.0...2.0.0
1.0.0
✨ Enhancements
- Add 'javatimefun' as root package name #23
Contributors
@seljabali
Full Changelog: 0.6...1.0.0