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 DurationUnitFORTNIGHTa new DurationUnit.static LengthUnitFURLONGa new LengthUnit.static SpeedUnitFURLONGS_PER_FORTNIGHTa new SpeedUnit based on the new LengthUnit and the new DurationUnit.
-
-
-
Field Detail
-
FURLONG
public static final LengthUnit FURLONG
a new LengthUnit.
-
FORTNIGHT
public static final DurationUnit FORTNIGHT
a new DurationUnit.
-
FURLONGS_PER_FORTNIGHT
public static final SpeedUnit FURLONGS_PER_FORTNIGHT
a new SpeedUnit based on the new LengthUnit and the new DurationUnit.
-
-
Method Detail
-
main
public static void main(String[] args)
- Parameters:
args- String[]; can be blank
-
-