All Methods Static Methods Concrete Methods
| Modifier and Type |
Method and Description |
static Date |
addDaysToDate(Date currentDate,
int days) |
static Date |
addMinutesToDate(Date currentDate,
int minutes) |
static Date |
addMonthsToDate(Date currentDate,
int months) |
static String |
age(Timestamp timestamp) |
static int |
calendarFieldFromDate(int calendarField,
Date date) |
static long |
daysBetween(Date startDate,
Date endDate) |
static long |
daysBetweenUsingChronoUnit(Date startDate,
Date endDate) |
static String |
elapsedTime(Timestamp timestamp) |
static Date |
endOfDay() |
static Date |
endOfDay(Date currentDate) |
static Timestamp |
endOfDayAsTimestamp() |
static Timestamp |
endOfDayAsTimestamp(Date currentDate) |
static Date |
endOfLastMonth() |
static Date |
endOfLastMonth(Date currentDate) |
static Date |
endOfLastWeek() |
static Date |
endOfLastYear() |
static Date |
endOfLastYear(Date currentDate) |
static Date |
endOfMonth() |
static Date |
endOfMonth(Date currentDate) |
static Date |
endOfNextMonth() |
static Date |
endOfNextWeek() |
static Date |
endOfNextYear() |
static Date |
endOfTomorrow() |
static Date |
endOfTomorrow(Date currentDate) |
static Date |
endOfWeek() |
static Date |
endOfWeek(Date currentDate) |
static Date |
endOfYear() |
static Date |
endOfYesterday() |
static Date |
endOfYesterday(Date currentDate) |
static Date |
getCurrentDate() |
static String |
getCurrentFormattedDate() |
static Timestamp |
getCurrentTimeStamp() |
static Integer |
getDay(Date date) |
static String |
getDayName(Date date) |
static Integer |
getDayOfMonth(Date date) |
static String |
getFormattedDate(Date date) |
static String |
getFormattedDate(Date date,
String pattern) |
static String |
getFormattedDateTime(Date date) |
static String |
getFormattedDateTime(Date date,
String pattern) |
static String |
getFormattedTime(Date date) |
static Integer |
getHourOfDay(Date date) |
static Integer |
getMinutes(Date date) |
static Integer |
getMonth(Date date) |
static String |
getMonthName(Date date) |
static Integer |
getSeconds(Date date) |
static Timestamp |
getTimeOnly(Date date) |
static Integer |
getYear(Date date) |
static long |
hoursBetween(Date startDate,
Date endDate) |
static Date |
justTimeAsDate(Date date) |
static Timestamp |
justTimeFromTimestamp(Date date) |
static Date |
minusDaysToDate(Date currentDate,
int days) |
static long |
minutesBetween(Date startDate,
Date endDate) |
static long |
monthsBetween(Date startDate,
Date endDate) |
static long |
monthsBetweenUsingChronoUnit(Date startDate,
Date endDate) |
static String |
remainingTime(Timestamp timestamp) |
static Timestamp |
setTimeForDate(Timestamp time,
Timestamp date) |
static Date |
startOfDay() |
static Date |
startOfDay(Date currentDate) |
static Timestamp |
startOfDayAsTimestamp() |
static Timestamp |
startOfDayAsTimestamp(Date currentDate) |
static Timestamp |
startOfDayFuture(Integer numberOfDaysFuture) |
static Timestamp |
startOfDayInPast(Integer numberOfDaysAgo) |
static Date |
startOfLastMonth() |
static Date |
startOfLastMonth(Date currentDate) |
static Date |
startOfLastWeek() |
static Date |
startOfLastYear() |
static Date |
startOfLastYear(Date currentDate) |
static Date |
startOfMonth() |
static Date |
startOfMonth(Date currentDate) |
static Date |
startOfNextMonth() |
static Date |
startOfNextWeek() |
static Date |
startOfNextYear() |
static Date |
startOfTomorrow() |
static Date |
startOfTomorrow(Date currentDate) |
static Date |
startOfWeek() |
static Date |
startOfWeek(Date currentDate) |
static Date |
startOfYear() |
static Date |
startOfYear(Date currentDate) |
static Date |
startOfYesterday() |
static Date |
startOfYesterday(Date currentDate) |
static Date |
toDateFromLocalDate(java.time.LocalDate localDate) |
static Date |
toDateFromLocalDateTime(java.time.LocalDateTime localDateTime) |
static java.time.LocalDate |
toLocalDateFromDate(Date date) |
static java.time.LocalDateTime |
toLocalDateTimeFromDate(Date date) |
static long |
yearsBetweenUsingChronoUnit(Date startDate,
Date endDate) |