Methods
Modifier and Type |
Method and Description |
Date |
add(Date dt,
HiveIntervalYearMonth interval) |
HiveIntervalDayTime |
add(HiveIntervalDayTime left,
HiveIntervalDayTime right) |
HiveIntervalYearMonth |
add(HiveIntervalYearMonth left,
HiveIntervalYearMonth right) |
Timestamp |
add(Timestamp ts,
HiveIntervalDayTime interval) |
Timestamp |
add(Timestamp ts,
HiveIntervalYearMonth interval) |
long |
addMonthsToDays(long days,
int months) |
long |
addMonthsToMillisLocal(long millis,
int months)
Perform month arithmetic to millis value using local time zone.
|
long |
addMonthsToMillisUtc(long millis,
int months)
Perform month arithmetic to millis value using UTC time zone.
|
long |
addMonthsToNanosLocal(long nanos,
int months) |
long |
addMonthsToNanosUtc(long nanos,
int months) |
Date |
subtract(Date left,
HiveIntervalYearMonth right) |
HiveIntervalDayTime |
subtract(HiveIntervalDayTime left,
HiveIntervalDayTime right) |
HiveIntervalYearMonth |
subtract(HiveIntervalYearMonth left,
HiveIntervalYearMonth right) |
Timestamp |
subtract(Timestamp left,
HiveIntervalDayTime right) |
Timestamp |
subtract(Timestamp left,
HiveIntervalYearMonth right) |
HiveIntervalDayTime |
subtract(Timestamp left,
Timestamp right) |