public class PrestoIntervalYearMonth extends Object implements Comparable<PrestoIntervalYearMonth>
| Constructor and Description |
|---|
PrestoIntervalYearMonth(int months) |
PrestoIntervalYearMonth(int year,
int months) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PrestoIntervalYearMonth o) |
boolean |
equals(Object obj) |
int |
getMonths() |
int |
hashCode() |
String |
toString() |
public PrestoIntervalYearMonth(int months)
public PrestoIntervalYearMonth(int year,
int months)
public int getMonths()
public int compareTo(PrestoIntervalYearMonth o)
compareTo in interface Comparable<PrestoIntervalYearMonth>Copyright © 2012–2024. All rights reserved.