udunits/src/main/java/ucar/units/SI.java
private static UnitDBImpl derivedUnitDB() throws NameException, UnitExistsException, NoSuchUnitException {
    final UnitDBImpl db = new UnitDBImpl(42, 43);

    db.addUnit(HERTZ);
    db.addUnit(NEWTON);
    db.addUnit(PASCAL);
    db.addUnit(JOULE);
    db.addUnit(WATT);
    db.addUnit(COULOMB);
    db.addUnit(VOLT);
    db.addUnit(FARAD);
    db.addUnit(OHM);
    db.addUnit(SIEMENS);
    db.addUnit(WEBER);
    db.addUnit(TESLA);
    db.addUnit(HENRY);
    db.addUnit(DEGREE_CELSIUS);
    db.addUnit(LUMEN);
    db.addUnit(LUX);

    db.addUnit(BECQUEREL);
    db.addUnit(GRAY);
    db.addUnit(SIEVERT);

    db.addUnit(MINUTE);
    db.addUnit(HOUR);
    db.addUnit(DAY);
    db.addUnit(ARC_DEGREE);
    db.addUnit(ARC_MINUTE);
    db.addUnit(ARC_SECOND);
    db.addUnit(LITER);
    db.addUnit(METRIC_TON);

    db.addUnit(NAUTICAL_MILE);
    db.addUnit(KNOT);
    db.addUnit(ANGSTROM);
    db.addUnit(ARE);
    db.addUnit(HECTARE);
    db.addUnit(BARN);
    db.addUnit(BAR);
    db.addUnit(GAL);

    db.addUnit(CURIE);
    db.addUnit(ROENTGEN);
    db.addUnit(RAD);
    db.addUnit(REM);

    db.addAlias("litre", "liter", "l");
    db.addAlias("tonne", "metric ton");
    db.addSymbol("tne", "tonne");

    return db;
  }
private static UnitDBImpl derivedUnitDB() throws NameException, UnitExistsException, NoSuchUnitException {
    final UnitDBImpl db = new UnitDBImpl(42, 43);

    db.addUnit(HERTZ);
    db.addUnit(NEWTON);
    db.addUnit(PASCAL);
    db.addUnit(JOULE);
    db.addUnit(WATT);
    db.addUnit(COULOMB);
    db.addUnit(VOLT);
    db.addUnit(FARAD);
    db.addUnit(OHM);
    db.addUnit(SIEMENS);
    db.addUnit(WEBER);
    db.addUnit(TESLA);
    db.addUnit(HENRY);
    db.addUnit(DEGREE_CELSIUS);
    db.addUnit(LUMEN);
    db.addUnit(LUX);

    db.addUnit(BECQUEREL);
    db.addUnit(GRAY);
    db.addUnit(SIEVERT);

    db.addUnit(MINUTE);
    db.addUnit(HOUR);
    db.addUnit(DAY);
    db.addUnit(ARC_DEGREE);
    db.addUnit(ARC_MINUTE);
    db.addUnit(ARC_SECOND);
    db.addUnit(LITER);
    db.addUnit(METRIC_TON);

    db.addUnit(NAUTICAL_MILE);
    db.addUnit(KNOT);
    db.addUnit(ANGSTROM);
    db.addUnit(ARE);
    db.addUnit(HECTARE);
    db.addUnit(BARN);
    db.addUnit(BAR);
    db.addUnit(GAL);

    db.addUnit(CURIE);
    db.addUnit(ROENTGEN);
    db.addUnit(RAD);
    db.addUnit(REM);

    db.addAlias("litre", "liter", "l");
    db.addAlias("tonne", "metric ton");
    db.addSymbol("tne", "tonne");

    return db;
  }
private static UnitDBImpl derivedUnitDB ( ) throws NameException , UnitExistsException , NoSuchUnitException { final UnitDBImpl db = new UnitDBImpl ( 42 , 43 ) ; db . addUnit ( HERTZ ) ; db . addUnit ( NEWTON ) ; db . addUnit ( PASCAL ) ; db . addUnit ( JOULE ) ; db . addUnit ( WATT ) ; db . addUnit ( COULOMB ) ; db . addUnit ( VOLT ) ; db . addUnit ( FARAD ) ; db . addUnit ( OHM ) ; db . addUnit ( SIEMENS ) ; db . addUnit ( WEBER ) ; db . addUnit ( TESLA ) ; db . addUnit ( HENRY ) ; db . addUnit ( DEGREE_CELSIUS ) ; db . addUnit ( LUMEN ) ; db . addUnit ( LUX ) ; db . addUnit ( BECQUEREL ) ; db . addUnit ( GRAY ) ; db . addUnit ( SIEVERT ) ; db . addUnit ( MINUTE ) ; db . addUnit ( HOUR ) ; db . addUnit ( DAY ) ; db . addUnit ( ARC_DEGREE ) ; db . addUnit ( ARC_MINUTE ) ; db . addUnit ( ARC_SECOND ) ; db . addUnit ( LITER ) ; db . addUnit ( METRIC_TON ) ; db . addUnit ( NAUTICAL_MILE ) ; db . addUnit ( KNOT ) ; db . addUnit ( ANGSTROM ) ; db . addUnit ( ARE ) ; db . addUnit ( HECTARE ) ; db . addUnit ( BARN ) ; db . addUnit ( BAR ) ; db . addUnit ( GAL ) ; db . addUnit ( CURIE ) ; db . addUnit ( ROENTGEN ) ; db . addUnit ( RAD ) ; db . addUnit ( REM ) ; db . addAlias ( "litre" , "liter" , "l" ) ; db . addAlias ( "tonne" , "metric ton" ) ; db . addSymbol ( "tne" , "tonne" ) ; return db ; }
Returns the derived unit database of the SI.

@return The derived unit database of the SI.
@throws NameException       Bad unit name.
@throws UnitExistsException Attempt to redefine an existing unit.
@throws NoSuchUnitException Necessary unit not found.
Returns the derived unit database of the SI .