Package org.djunits.demo.examples
Class AddingAUnitExample
java.lang.Object
org.djunits.demo.examples.AddingAUnitExample
public final class AddingAUnitExample extends Object
Example for adding a unit.
-
Field Summary
Fields Modifier and Type Field Description static org.djunits.unit.DurationUnit
FORTNIGHT
a new DurationUnit.static org.djunits.unit.LengthUnit
FURLONG
a new LengthUnit.static org.djunits.unit.SpeedUnit
FURLONGS_PER_FORTNIGHT
a new SpeedUnit based on the new LengthUnit and the new DurationUnit. -
Method Summary
-
Field Details
-
FURLONG
public static final org.djunits.unit.LengthUnit FURLONGa new LengthUnit. -
FORTNIGHT
public static final org.djunits.unit.DurationUnit FORTNIGHTa new DurationUnit. -
FURLONGS_PER_FORTNIGHT
public static final org.djunits.unit.SpeedUnit FURLONGS_PER_FORTNIGHTa new SpeedUnit based on the new LengthUnit and the new DurationUnit.
-
-
Method Details
-
main
- Parameters:
args
- can be blank
-