Comments (6)
Actually, the joda-time
GH page says Joda-time is no longer in active development except to keep timezone data up to date. [...] Projects needing to support lower API levels can use the ThreeTenABP library.
and the ThreeTenABP GH page says Development on this library is winding down. Please consider switching to Android Gradle plugin 4.0, java.time.*, and its core library desugaring feature in the coming months.
I was using the Android Gradle plugin 3.6.2 so should try it with the pre-release 4.0 plugin. When I look at https://developer.android.com/studio/preview/features#j8-desugar, I can see only A subset of java.time
is supported so let's see if that is enough.
from dateparser.
for future reference, java8 desugaring link:
https://developer.android.com/studio/releases/gradle-plugin#j8-library-desugaring
from dateparser.
Yes, it uses lots of java.time.*
, so it only works in JDK 1.8+, don't support old versions.
from dateparser.
Java 8 is not a problem, but yes the java.time.*
APIs are not available, see https://jakewharton.com/androids-java-8-support/
I guess you could have a ThreeTenBP version as a fallback for Android 6 and 7. Or if not, just warn SDK consumers of limitations.
from dateparser.
I'm considering use joda-time
to replace java.time
, joda
is more compatible with older versions.
from dateparser.
That worked, closing it.
from dateparser.
Related Issues (20)
- Throw error when argument is empty String
- Wrong selection of a matching rule HOT 1
- Custom Rule Failure HOT 1
- Thank you so much for writing this library! HOT 1
- Get date format HOT 7
- Not available in maven repository HOT 1
- (How to?) Improve performance when parsing many strings in the same format
- ISO formatted string is parsed wrong HOT 4
- Parsing a date with some negative offsets raises an exception. HOT 1
- Support modern JDK versions by updating lombok to 1.18.10 (or newer) HOT 2
- preferMonthFirst is not reset when month is given greater than 12 HOT 3
- Date Parsing Rpoblem HOT 2
- Unneeded patterns/rules influence the result of the parsing
- Lombok dependency leaking into projects that use Dateparser HOT 2
- There is a problem with too large timestamp HOT 1
- Format exception HOT 1
- Weird bug - Custom date parser for parsing dates with zero prefixes
- The parser doesn't allow setting the default timezone (if timezone is not present in the string)
- Returning a hint whether the parsing was deterministic or not
- Support small timestamp. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dateparser.