Android Utililty Methods Date Add

List of utility methods to do Date Add

Description

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

Method

Dateadd(Date date, int calendarField, int amount)
Used internally to add/subtract amount to specific calendar field.
Timestampadd(Date date, int calendarField, int amount)
add
Dateadd(Date date, int calendarField, int amount)
Adds to a date returning a new object.
DateaddDay(Date date, int days)
add Day
TimestampaddDays(Date date, int amount)
add Days
DateaddDays(Date date, int amount)
Adds a number of days to a date returning a new object.
DateaddDaysToDate(Date date, int daysToBeAdded)
Add / Subtract given no of days to Date .
TimestampaddHours(Date date, int amount)
add Hours
DateaddHours(Date date, int amount)
Adds a number of hours to a date returning a new object.
DateaddHoursToDate(Date date, int hoursToBeAdded)
Add / Subtract given no of hours to Date .