/**
 * A length in traditional U.S. units (i.e., feet and inches)
 *
 * This version extends the abstract TwoPartMeasure class that
 * implements most behaviors
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 2.0  
 */
 public class Length extends TwoPartMeasure
 {


    /**
     * Default Constructor
     */
     public Length()
     {
			super(0, 0, true);
     }


    /**
     * Explicit Value Constructor
     *
     * @param feet   The number of feet (must be positive)
     * @param inches The number of inches (must be positive)
     */
     public Length(int feet, int inches)
     {
			super(feet, inches, true);
     }


    /**
     * Explicit Value Constructor
     *
     * @param feet     The number of feet (must be positive)
     * @param inches   The number of inches (must be positive)
     * @param positive true for a postive length, false for negative
     */
     public Length(int feet, int inches, boolean positive)
     {
			super(feet, inches, positive);
     }


    /**
     * Initialize the "constants" used by a TwoPartMeasure
     */
     protected void initializeUnits()
     {
 			smallsPerLarge = 12;

			largeUnitsSingular = "foot";
			largeUnitsPlural   = "feet";

			smallUnitsSingular = "inch";
			smallUnitsPlural   = "inches";
     }
} // end Length
