Skip to content

Releases: sami-eljabali/java-time-fun

4.0.3

22 Feb 16:39
3d1e5f9

Choose a tag to compare

✨ Enhancements

  • Allow passing multiple formats for parsing (#107)

🔨 Dependencies

  • Bump kotlin from 2.2.21 to 2.3.10 (#99, #104)
  • Bump junit from 6.0.1 to 6.0.3 (#100, #105)
  • Update Gradle Wrapper from 9.2.1 to 9.3.1 (#103, #102)

Full Changelog: 4.0.2...4.0.3

4.0.2

22 Nov 15:27
ae9ddad

Choose a tag to compare

✨ Enhancements

  • Add Start/End of Month methods #97

🧹 Housekeeping

  • Fix unit testing #96
  • Bump version from 4.0.1 to 4.0.2 #98

🔨 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

15 Jun 16:39
0b1b920

Choose a tag to compare

✨ Enhancements

  • ZoneIds > Add Asian time zones #74
  • LocalDateTimes > Add From Zone to Zone util methods #75

🧹 Housekeeping

  • Update logo #66
  • Update Sonatype URLs #70
  • Update to version catalogs #71
  • Bump library version from 4.0.0 to 4.0.1 #76

🔨 Dependencies

  • Bump kotlin from 2.1.20 to 2.1.21 #73
  • Update Gradle Wrapper from 8.13 to 8.14.2 #69

New Contributors

  • @github-actions made their first contribution in #69

Full Changelog: 4.0.0...4.0.1

4.0.0

23 Mar 18:54
0a85b9f

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

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

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

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

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

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

Choose a tag to compare

✨ Enhancements

  • Add 'javatimefun' as root package name #23

Contributors

@seljabali

Full Changelog: 0.6...1.0.0