org.hsqldb.types
Class IntervalMonthData
- java.lang.Object
-
- org.hsqldb.types.IntervalMonthData
-
public class IntervalMonthData extends java.lang.ObjectImplementation of data item for INTERVAL MONTH.- Since:
- 1.9.0
-
-
Field Summary
Fields Modifier and Type Field and Description intunits
-
Constructor Summary
Constructors Constructor and Description IntervalMonthData(long months)IntervalMonthData(long months, IntervalType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompareTo(IntervalMonthData b)booleanequals(java.lang.Object other)longgetMonths()inthashCode()static IntervalMonthDatanewInterval(double value, int typeCode)static IntervalMonthDatanewIntervalMonth(long months, IntervalType type)static IntervalMonthDatanewIntervalYear(long years, IntervalType type)java.lang.StringtoString()
-
-
-
Constructor Detail
-
IntervalMonthData
public IntervalMonthData(long months, IntervalType type)
-
IntervalMonthData
public IntervalMonthData(long months)
-
-
Method Detail
-
newInterval
public static IntervalMonthData newInterval(double value, int typeCode)
-
newIntervalYear
public static IntervalMonthData newIntervalYear(long years, IntervalType type)
-
newIntervalMonth
public static IntervalMonthData newIntervalMonth(long months, IntervalType type)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(IntervalMonthData b)
-
getMonths
public long getMonths()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG