Package io.prestosql.jdbc
Class PrestoIntervalYearMonth
- java.lang.Object
-
- io.prestosql.jdbc.PrestoIntervalYearMonth
-
- All Implemented Interfaces:
Comparable<PrestoIntervalYearMonth>
public class PrestoIntervalYearMonth extends Object implements Comparable<PrestoIntervalYearMonth>
-
-
Constructor Summary
Constructors Constructor Description PrestoIntervalYearMonth(int months)
PrestoIntervalYearMonth(int year, int months)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PrestoIntervalYearMonth o)
boolean
equals(Object obj)
int
getMonths()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getMonths
public int getMonths()
-
compareTo
public int compareTo(PrestoIntervalYearMonth o)
- Specified by:
compareTo
in interfaceComparable<PrestoIntervalYearMonth>
-
-