Package ucar.units

Examples of ucar.units.Unit


    TimeUnit tu = new TimeUnit(3.0, "hours");
    System.out.println(" TimeUnit.toString=      "+tu.toString());
    System.out.println(" TimeUnit.getValue=      "+tu.getValue());
    System.out.println(" TimeUnit.getUnitString= "+tu.getUnitString());

    Unit uu = tu.getUnit();
    showUnitInfo( uu);
    System.out.println();

    uu = SimpleUnit.makeUnit("3.0 hours");
    showUnitInfo( uu);
View Full Code Here

TOP

Related Classes of ucar.units.Unit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.