net.sf.farrago.type.runtime
Class EncodedSqlInterval.EncodedSqlIntervalYM

java.lang.Object
  extended by net.sf.farrago.type.runtime.EncodedSqlInterval
      extended by net.sf.farrago.type.runtime.EncodedSqlInterval.EncodedSqlIntervalYM
All Implemented Interfaces:
AssignableValue, DataValue
Enclosing class:
EncodedSqlInterval

public abstract static class EncodedSqlInterval.EncodedSqlIntervalYM
extends EncodedSqlInterval


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.farrago.type.runtime.EncodedSqlInterval
EncodedSqlInterval.EncodedSqlIntervalDT, EncodedSqlInterval.EncodedSqlIntervalYM
 
Field Summary
static long MONTHS_PER_YEAR
           
 
Fields inherited from class net.sf.farrago.type.runtime.EncodedSqlInterval
GET_END_UNIT_METHOD_NAME, GET_START_UNIT_METHOD_NAME, NF2, NF3, value
 
Fields inherited from interface net.sf.farrago.type.runtime.AssignableValue
ASSIGNMENT_METHOD_NAME
 
Constructor Summary
EncodedSqlInterval.EncodedSqlIntervalYM()
           
 
Method Summary
 void assignFrom(Object obj)
          Assigns value from an Object.
protected  void parse(String interval)
           
 String toString()
           
 
Methods inherited from class net.sf.farrago.type.runtime.EncodedSqlInterval
assignFrom, ceil, ceil, floor, floor, getEndUnit, getNullableData, getPrimitiveClass, getStartUnit, isNull, setNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MONTHS_PER_YEAR

public static final long MONTHS_PER_YEAR
See Also:
Constant Field Values
Constructor Detail

EncodedSqlInterval.EncodedSqlIntervalYM

public EncodedSqlInterval.EncodedSqlIntervalYM()
Method Detail

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