Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.65 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.65 KB

Joda Time Utils

Utility library to Joda-Time time in android, based on Joda Time Android Andoird wrapper.

Why Joda-Time?

Android has built-in date and time handling - why bother with a library? If you've worked with Java's Date and Calendar classes you can probably answer this question yourself, but if not, check out Joda-Time's list of benefits.

For Android developers Joda-Time solves one critical problem: stale timezone data. Built-in timezone data is only updated when the OS is updated, and we all know how often that happens. Countries modify their timezones all the time; being able to update your own tz data keeps your app up-to-date and accurate.

Why This Library?

Joda-Time is really useful, but some thing were missing when using it on Android:

  • a DatePicker that works with DateTime
  • a DateragePicker that works with DateTime
  • a Gson Serializer/Deserializer fot DateTime

In this library you can find all of them

Integration

Add the following dependency to build.gradle:

dependencies {
    compile 'TBD'
}

Then follow the initializations instructions from joda-time-adnroid