diff options
author | Ivan Frade <ifrade@google.com> | 2024-11-11 13:13:59 -0800 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-11-19 11:51:03 +0100 |
commit | 307ef6b4b51f5f9266f6212015a9b5a1f1e75df4 (patch) | |
tree | e56926dce154a4eaa8443785da8ef43bb5a675d6 /org.eclipse.jgit.test/tst/org/eclipse/jgit/util/PathsTest.java | |
parent | 2e5fb1fcca27565a37da542b74346f25bfd439aa (diff) | |
download | jgit-307ef6b4b51f5f9266f6212015a9b5a1f1e75df4.tar.gz jgit-307ef6b4b51f5f9266f6212015a9b5a1f1e75df4.zip |
GitTimeParser: A date parser using the java.time API
Replacement of GitDateParser that uses java.time classes instead of
the obsolete Date. Updating GitDateParser would have been a mess of
deprecation and methods with confusing names, so I opted for writing a
parallel class with the new types.
Some differences:
* The new DateTimeFormatter is thread-safe, so we don't need the
LocalThread cache
* No code seems to use other locale than the default, we don't need to
cache per locale either
Change-Id: If24610a055a47702fb5b7be2fc35a7c722480ee3
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/util/PathsTest.java')
0 files changed, 0 insertions, 0 deletions