Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@seljabali seljabali released this 12 Feb 07:14
· 3 commits to main since this release
1fd88a5

✨ 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