How to calculate total number days difference between to dates in Android - java, Android
I am looking for a suitable solution to calculate number of days given two given dates: I am working a Andriod app. After go through stackoverflow.com pages I found julien solution very effective : https://stackoverflow.com/questions/20165564/calculating-days-between-two-dates-with-in-java Most for other links are just measuring dates different within a month. when to count days within couple of month those are not working attest don't meet my demand. So her i found org . joda . time library for Java. than looking for what available for Android & get this 'joda-time:joda-time:2.9.9' So, I add this to app gradle Sync . there the code wich is implemented in an editText field for comparing it exceed certain date or not . package android.exapmple.com.mydateset; import android.app.DatePickerDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.DatePicker; import...