I try to use joda-time library for easier measuring the execution time of my program (not for profiling, just for the user).
But when I compile my project I get error about missing dependency -- the "FromString" class is missing. I tried to explicitly import it, but while typing intellisense (IntelliJ) does not even detect it, on the other hand there is only one jar for download from joda-time site.
How do I resolve this dependency?
I am aware of wrapper for JT but for now I would like to use it directly.
Joda-Time provides a comprehensive formatting system. There are two layers: High level - pre-packaged constant formatters. Mid level - pattern-based, like SimpleDateFormat. Low level - builder.
Joda-Time provides a quality replacement for the Java date and time classes. Joda-Time is the de facto standard date and time library for Java prior to Java SE 8. Users are now asked to migrate to java. time (JSR-310). Joda-Time is licensed under the business-friendly Apache 2.0 licence.
Joda-Time provides support for multiple calendar systems and the full range of time-zones. The Chronology and DateTimeZone classes provide this support. Joda-Time defaults to using the ISO calendar system, which is the de facto civil calendar used by the world.
If the problem is with FromString, then the missing dependency is Joda Convert. Add the relevant jars.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With