Class TimestampWithTimeZoneOperators.TimestampMinusIntervalYearToMonth
java.lang.Object
io.trino.operator.scalar.timestamptz.TimestampWithTimeZoneOperators.TimestampMinusIntervalYearToMonth
- Enclosing class:
TimestampWithTimeZoneOperators
public static final class TimestampWithTimeZoneOperators.TimestampMinusIntervalYearToMonth
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longsubtract(long timestamp, long interval) static LongTimestampWithTimeZonesubtract(LongTimestampWithTimeZone timestamp, long interval)
-
Constructor Details
-
TimestampMinusIntervalYearToMonth
public TimestampMinusIntervalYearToMonth()
-
-
Method Details
-
subtract
public static long subtract(long timestamp, long interval) -
subtract
public static LongTimestampWithTimeZone subtract(LongTimestampWithTimeZone timestamp, long interval)
-