Skip to content

Releases: seljabali/java-time-fun

4.0.0

23 Mar 18:54
0a85b9f
Compare
Choose a tag to compare

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

03 Feb 18:23
5b915fc
Compare
Choose a tag to compare

✨ 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

Full Changelog: 3.1.0...3.1.1

3.1.0

31 Jan 08:15
2e73972
Compare
Choose a tag to compare

✨ Enhancements

  • Add more flexibility in LocalDateTime parsing #40

🔨 Dependencies

  • Bump Kotlin from 1.9.20 to 2.1.10 #42
  • Bump Gradle from 8.4 to 8.12.1 #41

Contributors

@seljabali

Full Changelog: 3.0.0...3.1.0

3.0.0

12 Feb 07:14
1fd88a5
Compare
Choose a tag to compare

✨ 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

10 Feb 10:24
2ab93cd
Compare
Choose a tag to compare

✨ Enhancements

  • Add More Day/Time Comparison Extensions #30

Contributors

@seljabali

Full Changelog: 2.0.0...2.1.0

2.0.0

08 Feb 10:04
9c80911
Compare
Choose a tag to compare

✨ Enhancements

  • Add Date & Calendar extensions #26

Contributors

@seljabali

Full Changelog: 1.0.0...2.0.0

1.0.0

08 Feb 07:14
9d7221a
Compare
Choose a tag to compare

✨ Enhancements

  • Add 'javatimefun' as root package name #23

Contributors

@seljabali

Full Changelog: 0.6...1.0.0

0.6

07 Feb 09:59
2bffbfb
Compare
Choose a tag to compare
0.6

What's Changed

  • Refactor buildscript and added publish action #9
  • Update Kotlin + Gradle #13
  • Update maven plugin #14
  • Fix Maven publish #17
  • Add local date at Start of Day & End of Day #18
  • Update Github Actions #19
  • Bump version from 0.5 to 0.6 #21

Contributors

New Contributors

Full Changelog: 0.5...0.6

0.5

12 Sep 00:49
b25576c
Compare
Choose a tag to compare
0.5

Released on: 2021-09-11

  • Refactored out leap year calculation to use Java.Time.
  • Updated groupId for mavenCentral.

0.4

11 Sep 22:27
b4faa7a
Compare
Choose a tag to compare
0.4

Released on: 2020-09-11

  • Fixed leap year calculation.
  • Added more creation methods for LocalDate, LocalDateTime, & LocalTime using older date objects.
  • Added more documentation.
  • Added more unit testing.