Android Utililty Methods Date Interval Get

List of utility methods to do Date Interval Get

Description

The list of methods to do Date Interval Get are organized into topic(s).

Method

intDaysBetween(Date beginDate, Date endDate)
Days Between
longcalculateDiffInDays(Date date1, Date date2)
Calculates the difference between the given Date in days.
longcalculateDiffInHours(Date date1, Date date2)
Calculates the difference between the given Date in hours.
longcalculateDiffInMilliSeconds(Date date1, Date date2)
Calculates the difference between the given Date in milliseconds.
longcalculateDiffInMinutes(Date date1, Date date2)
Calculates the difference between the given Date in minutes.
StringdateDiff(String startTime, String endTime)
date Diff
LongdateDiff(String startTime, String endTime, String format, String str)
date Diff
intdayDiff(Date date1, Date date2)
day Diff
DatedayOffset(Date date, int offset)
day Offset
longdaysBetweenDate(Date date1, Date date2)
days Between Date