net.sf.farrago.type.runtime
Class EncodedSqlInterval.EncodedSqlIntervalYM
java.lang.Object
net.sf.farrago.type.runtime.EncodedSqlInterval
net.sf.farrago.type.runtime.EncodedSqlInterval.EncodedSqlIntervalYM
- All Implemented Interfaces:
- AssignableValue, DataValue
- Enclosing class:
- EncodedSqlInterval
public abstract static class EncodedSqlInterval.EncodedSqlIntervalYM
- extends EncodedSqlInterval
Methods inherited from class net.sf.farrago.type.runtime.EncodedSqlInterval |
assignFrom, ceil, ceil, floor, floor, getEndUnit, getNullableData, getPrimitiveClass, getStartUnit, isNull, setNull |
MONTHS_PER_YEAR
public static final long MONTHS_PER_YEAR
- See Also:
- Constant Field Values
EncodedSqlInterval.EncodedSqlIntervalYM
public EncodedSqlInterval.EncodedSqlIntervalYM()
assignFrom
public void assignFrom(Object obj)
- Description copied from interface:
AssignableValue
- Assigns value from an Object.
- Specified by:
assignFrom
in interface AssignableValue
- Overrides:
assignFrom
in class EncodedSqlInterval
- Parameters:
obj
- value to assign, or null to set null
parse
protected void parse(String interval)
- Specified by:
parse
in class EncodedSqlInterval
toString
public String toString()
- Overrides:
toString
in class Object