All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mariuszgromada.math.mxparser.parsertokens.Unit Maven / Gradle / Ivy

Go to download

mXparser is a super easy, rich, fast and highly flexible math expression parser library (parser and evaluator of mathematical expressions / formulas provided as plain text / string). Software delivers easy to use API for JAVA, Android and C# .NET/MONO (Common Language Specification compliant: F#, Visual Basic, C++/CLI). *** If you find the software useful donation or purchase is something you might consider: https://mathparser.org/donate/ *** Online store: https://payhip.com/INFIMA *** Scalar Scientific Calculator, Charts and Scripts, Scalar Lite: https://play.google.com/store/apps/details?id=org.mathparser.scalar.lite *** Scalar Pro: https://play.google.com/store/apps/details?id=org.mathparser.scalar.pro *** ScalarMath.org: https://scalarmath.org/ *** MathSpace.pl: https://mathspace.pl/ ***

There is a newer version: 6.1.0
Show newest version
/*
 * @(#)Unit.java        6.0.0    2024-05-19
 *
 * MathParser.org-mXparser DUAL LICENSE AGREEMENT as of date 2024-05-19
 * The most up-to-date license is available at the below link:
 * - https://mathparser.org/mxparser-license
 *
 * AUTHOR: Copyright 2010 - 2024 Mariusz Gromada - All rights reserved
 * PUBLISHER: INFIMA - https://payhip.com/infima
 *
 * SOFTWARE means source code and/or binary form and/or documentation.
 * PRODUCT: MathParser.org-mXparser SOFTWARE
 * LICENSE: DUAL LICENSE AGREEMENT
 *
 * BY INSTALLING, COPYING, OR OTHERWISE USING THE PRODUCT, YOU AGREE TO BE
 * BOUND BY ALL OF THE TERMS AND CONDITIONS OF THE DUAL LICENSE AGREEMENT.
 *
 * The AUTHOR & PUBLISHER provide the PRODUCT under the DUAL LICENSE AGREEMENT
 * model designed to meet the needs of both non-commercial use and commercial
 * use.
 *
 * NON-COMMERCIAL USE means any use or activity where a fee is not charged
 * and the purpose is not the sale of a good or service, and the use or
 * activity is not intended to produce a profit. Examples of NON-COMMERCIAL USE
 * include:
 *
 * 1. Non-commercial open-source software.
 * 2. Non-commercial mobile applications.
 * 3. Non-commercial desktop software.
 * 4. Non-commercial web applications/solutions.
 * 5. Non-commercial use in research, scholarly and educational context.
 *
 * The above list is non-exhaustive and illustrative only.
 *
 * COMMERCIAL USE means any use or activity where a fee is charged or the
 * purpose is the sale of a good or service, or the use or activity is
 * intended to produce a profit. COMMERCIAL USE examples:
 *
 * 1. OEMs (Original Equipment Manufacturers).
 * 2. ISVs (Independent Software Vendors).
 * 3. VARs (Value Added Resellers).
 * 4. Other distributors that combine and distribute commercially licensed
 *    software.
 *
 * The above list is non-exhaustive and illustrative only.
 *
 * IN CASE YOU WANT TO USE THE PRODUCT COMMERCIALLY, YOU MUST PURCHASE THE
 * APPROPRIATE LICENSE FROM "INFIMA" ONLINE STORE, STORE ADDRESS:
 *
 * 1. https://mathparser.org/order-commercial-license
 * 2. https://payhip.com/infima
 *
 * NON-COMMERCIAL LICENSE
 *
 * Redistribution and use of the PRODUCT in source and/or binary forms,
 * with or without modification, are permitted provided that the following
 * conditions are met:
 *
 * 1. Redistributions of source code must retain the unmodified content of
 *    the entire MathParser.org-mXparser DUAL LICENSE AGREEMENT, including
 *    the definition of NON-COMMERCIAL USE, the definition of COMMERCIAL USE,
 *    the NON-COMMERCIAL LICENSE conditions, the COMMERCIAL LICENSE conditions,
 *    and the following DISCLAIMER.
 * 2. Redistributions in binary form must reproduce the entire content of
 *    MathParser.org-mXparser DUAL LICENSE AGREEMENT in the documentation
 *    and/or other materials provided with the distribution, including the
 *    definition of NON-COMMERCIAL USE, the definition of COMMERCIAL USE, the
 *    NON-COMMERCIAL LICENSE conditions, the COMMERCIAL LICENSE conditions,
 *    and the following DISCLAIMER.
 * 3. Any form of redistribution requires confirmation and signature of
 *    the NON-COMMERCIAL USE by successfully calling the method:
 *       License.iConfirmNonCommercialUse(...)
 *    The method call is used only internally for logging purposes, and
 *    there is no connection with other external services, and no data is
 *    sent or collected. The lack of a method call (or its successful call)
 *    does not affect the operation of the PRODUCT in any way. Please see
 *    the API documentation.
 *
 * COMMERCIAL LICENSE
 *
 *  1. Before purchasing a commercial license, the AUTHOR & PUBLISHER allow
 *     you to download, install, and use up to three copies of the PRODUCT to
 *     perform integration tests, confirm the quality of the PRODUCT, and
 *     its suitability. The testing period should be limited to fourteen
 *     days. Tests should be performed under the test environments conditions
 *     and not for profit generation.
 *  2. Provided that you purchased a license from "INFIMA" online store
 *     (store address: https://mathparser.org/order-commercial-license or
 *     https://payhip.com/infima), and you comply with all terms and
 *     conditions below, and you have acknowledged and understood the
 *     following DISCLAIMER, the AUTHOR & PUBLISHER grant you a nonexclusive
 *     license with the following rights:
 *  3. The license is granted only to you, the person or entity that made
 *     the purchase, identified and confirmed by the data provided during
 *     the purchase.
 *  4. If you purchased a license in the "ONE-TIME PURCHASE" model, the
 *     license is granted only for the PRODUCT version specified in the
 *     purchase. The upgrade policy gives you additional rights, described
 *     in the dedicated section below.
 *  5. If you purchased a license in the "SUBSCRIPTION" model, you may
 *     install and use any version of the PRODUCT during the subscription
 *     validity period.
 *  6. If you purchased a "SINGLE LICENSE" you may install and use the
 *     PRODUCT on/from one workstation that is located/accessible at/from
 *     any of your premises.
 *  7. Additional copies of the PRODUCT may be installed and used on/from
 *     more than one workstation, limited to the number of workstations
 *     purchased per order.
 *  8. If you purchased a "SITE LICENSE", the PRODUCT may be installed
 *     and used on/from all workstations located/accessible at/from any
 *     of your premises.
 *  9. You may incorporate the unmodified PRODUCT into your own products
 *     and software.
 * 10. If you purchased a license with the "SOURCE CODE" option, you may
 *     modify the PRODUCT's source code and incorporate the modified source
 *     code into your own products and/or software.
 * 11. Provided that the license validity period has not expired, you may
 *     distribute your product and/or software with the incorporated
 *     PRODUCT royalty-free.
 * 12. You may make copies of the PRODUCT for backup and archival purposes.
 * 13. Any form of redistribution requires confirmation and signature of
 *     the COMMERCIAL USE by successfully calling the method:
 *        License.iConfirmCommercialUse(...)
 *     The method call is used only internally for logging purposes, and
 *     there is no connection with other external services, and no data is
 *     sent or collected. The lack of a method call (or its successful call)
 *     does not affect the operation of the PRODUCT in any way. Please see
 *     the API documentation.
 * 14. The AUTHOR & PUBLISHER reserve all rights not expressly granted to
 *     you in this agreement.
 *
 * ADDITIONAL CLARIFICATION ON WORKSTATION
 *
 * A workstation is a device, a remote device, or a virtual device, used by
 * you, your employees, or other entities to whom you have commissioned
 * tasks. For example, the number of workstations may refer to the number
 * of software developers, engineers, architects, scientists, and other
 * professionals who use the PRODUCT on your behalf. The number of
 * workstations is not the number of copies of your end-product that you
 * distribute to your end-users.
 *
 * By purchasing the COMMERCIAL LICENSE, you only pay for the number of
 * workstations, while the number of copies/users of your final product
 * (delivered to your end-users) is not limited.
 *
 * Below are some examples to help you select the right license size:
 *
 * Example 1: Single Workstation License
 * Only one developer works on the development of your application. You do
 * not use separate environments for testing, meaning you design, create,
 * test, and compile your final application on one environment. In this
 * case, you need a license for a single workstation.
 *
 * Example 2: Up to 5 Workstations License
 * Two developers are working on the development of your application.
 * Additionally, one tester conducts tests in a separate environment.
 * You use three workstations in total, so you need a license for up to
 * five workstations.
 *
 * Example 3: Up to 20 Workstations License
 * Ten developers are working on the development of your application.
 * Additionally, five testers conduct tests in separate environments.
 * You use fifteen workstations in total, so you need a license for
 * up to twenty workstations.
 *
 * Example 4: Site License
 * Several dozen developers and testers work on the development of your
 * application using multiple environments. You have a large,
 * multi-disciplinary team involved in creating your solution. As your team
 * is growing and you want to avoid licensing limitations, the best choice
 * would be a site license.
 *
 * UPGRADE POLICY
 *
 * The PRODUCT is versioned according to the following convention:
 *
 *    [MAJOR].[MINOR].[PATCH]
 *
 * 1. COMMERCIAL LICENSE holders can install and use the updated version
 *    for bug fixes free of charge, i.e. if you have purchased a license
 *    for the [MAJOR].[MINOR] version (e.g., 5.0), you can freely install
 *    all releases specified in the [PATCH] version (e.g., 5.0.2).
 *    The license terms remain unchanged after the update.
 * 2. COMMERCIAL LICENSE holders for the [MAJOR].[MINOR] version (e.g., 5.0)
 *    can install and use the updated version [MAJOR].[MINOR + 1] free of
 *    charge, i.e., plus one release in the [MINOR] range (e.g., 5.1). The
 *    license terms remain unchanged after the update.
 * 3. COMMERCIAL LICENSE holders who wish to upgrade their version, but are
 *    not eligible for the free upgrade, can claim a discount when
 *    purchasing the upgrade. For this purpose, please contact us via e-mail.
 *
 * DISCLAIMER
 *
 * THIS PRODUCT IS PROVIDED BY THE AUTHOR & PUBLISHER "AS IS" AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL AUTHOR OR PUBLISHER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS PRODUCT, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 *
 * THE VIEWS AND CONCLUSIONS CONTAINED IN THE PRODUCT AND DOCUMENTATION ARE
 * THOSE OF THE AUTHORS AND SHOULD NOT BE INTERPRETED AS REPRESENTING
 * OFFICIAL POLICIES, EITHER EXPRESSED OR IMPLIED, OF THE AUTHOR OR PUBLISHER.
 *
 * CONTACT
 *
 * - e-mail: [email protected]
 * - website: https://mathparser.org
 * - source code: https://github.com/mariuszgromada/MathParser.org-mXparser
 * - online store: https://mathparser.org/order-commercial-license
 * - online store: https://payhip.com/infima
 */
package org.mariuszgromada.math.mxparser.parsertokens;

import org.mariuszgromada.math.mxparser.mXparser;
/**
 * Units - mXparser tokens definition.
 *
 * @author         Mariusz Gromada
* MathParser.org - mXparser project page
* mXparser on GitHub
* INFIMA place to purchase a commercial MathParser.org-mXparser software license
* [email protected]
* ScalarMath.org - a powerful math engine and math scripting language
* Scalar Lite
* Scalar Pro
* MathSpace.pl
* * @version 6.0.0 */ public final class Unit { /* * Unit - token type id. */ public static final int TYPE_ID = 12; public static String TYPE_DESC = ParserSymbol.NA; /* * Unit - tokens id. */ /* Ratio, Fraction */ public static final int PERC_ID = 1; public static final int PERM_ID = 2; /* Metric prefixes */ public static final int YOTTA_ID = 101; public static final int ZETTA_ID = 102; public static final int EXA_ID = 103; public static final int PETA_ID = 104; public static final int TERA_ID = 105; public static final int GIGA_ID = 106; public static final int MEGA_ID = 107; public static final int KILO_ID = 108; public static final int HECTO_ID = 109; public static final int DECA_ID = 110; public static final int DECI_ID = 111; public static final int CENTI_ID = 112; public static final int MILLI_ID = 113; public static final int MICRO_ID = 114; public static final int NANO_ID = 115; public static final int PICO_ID = 116; public static final int FEMTO_ID = 117; public static final int ATTO_ID = 118; public static final int ZEPTO_ID = 119; public static final int YOCTO_ID = 120; /* Units of length / distance */ public static final int METRE_ID = 201; public static final int KILOMETRE_ID = 202; public static final int CENTIMETRE_ID = 203; public static final int MILLIMETRE_ID = 204; public static final int INCH_ID = 205; public static final int YARD_ID = 206; public static final int FEET_ID = 207; public static final int MILE_ID = 208; public static final int NAUTICAL_MILE_ID = 209; /* Units of area */ public static final int METRE2_ID = 301; public static final int CENTIMETRE2_ID = 302; public static final int MILLIMETRE2_ID = 303; public static final int ARE_ID = 304; public static final int HECTARE_ID = 305; public static final int ACRE_ID = 306; public static final int KILOMETRE2_ID = 307; /* Units of volume */ public static final int MILLIMETRE3_ID = 401; public static final int CENTIMETRE3_ID = 402; public static final int METRE3_ID = 403; public static final int KILOMETRE3_ID = 404; public static final int MILLILITRE_ID = 405; public static final int LITRE_ID = 406; public static final int GALLON_ID = 407; public static final int PINT_ID = 408; /* Units of time */ public static final int SECOND_ID = 501; public static final int MILLISECOND_ID = 502; public static final int MINUTE_ID = 503; public static final int HOUR_ID = 504; public static final int DAY_ID = 505; public static final int WEEK_ID = 506; public static final int JULIAN_YEAR_ID = 507; /* Units of mass */ public static final int KILOGRAM_ID = 508; public static final int GRAM_ID = 509; public static final int MILLIGRAM_ID = 510; public static final int DECAGRAM_ID = 511; public static final int TONNE_ID = 512; public static final int OUNCE_ID = 513; public static final int POUND_ID = 514; /* Units of information */ public static final int BIT_ID = 601; public static final int KILOBIT_ID = 602; public static final int MEGABIT_ID = 603; public static final int GIGABIT_ID = 604; public static final int TERABIT_ID = 605; public static final int PETABIT_ID = 606; public static final int EXABIT_ID = 607; public static final int ZETTABIT_ID = 608; public static final int YOTTABIT_ID = 609; public static final int BYTE_ID = 610; public static final int KILOBYTE_ID = 611; public static final int MEGABYTE_ID = 612; public static final int GIGABYTE_ID = 613; public static final int TERABYTE_ID = 614; public static final int PETABYTE_ID = 615; public static final int EXABYTE_ID = 616; public static final int ZETTABYTE_ID = 617; public static final int YOTTABYTE_ID = 618; /* Units of energy */ public static final int JOULE_ID = 701; public static final int ELECTRONO_VOLT_ID = 702; public static final int KILO_ELECTRONO_VOLT_ID = 703; public static final int MEGA_ELECTRONO_VOLT_ID = 704; public static final int GIGA_ELECTRONO_VOLT_ID = 705; public static final int TERA_ELECTRONO_VOLT_ID = 706; /* Units of speed */ public static final int METRE_PER_SECOND_ID = 801; public static final int KILOMETRE_PER_HOUR_ID = 802; public static final int MILE_PER_HOUR_ID = 803; public static final int KNOT_ID = 804; /* Units of acceleration */ public static final int METRE_PER_SECOND2_ID = 901; public static final int KILOMETRE_PER_HOUR2_ID = 902; public static final int MILE_PER_HOUR2_ID = 903; /* Units of angle */ public static final int RADIAN_ARC_ID = 1001; public static final int DEGREE_ARC_ID = 1002; public static final int MINUTE_ARC_ID = 1003; public static final int SECOND_ARC_ID = 1004; /* * Unit - tokens key words. */ /* Ratio, Fraction */ public static final String PERC_STR = "[%]"; public static final String PERM_STR = "[%%]"; /* Metric prefixes */ public static final String YOTTA_STR = "[Y]"; public static final String YOTTA_SEPT_STR = "[sept]"; public static final String ZETTA_STR = "[Z]"; public static final String ZETTA_SEXT_STR = "[sext]"; public static final String EXA_STR = "[E]"; public static final String EXA_QUINT_STR = "[quint]"; public static final String PETA_STR = "[P]"; public static final String PETA_QUAD_STR = "[quad]"; public static final String TERA_STR = "[T]"; public static final String TERA_TRIL_STR = "[tril]"; public static final String GIGA_STR = "[G]"; public static final String GIGA_BIL_STR = "[bil]"; public static final String MEGA_STR = "[M]"; public static final String MEGA_MIL_STR = "[mil]"; public static final String KILO_STR = "[k]"; public static final String KILO_TH_STR = "[th]"; public static final String HECTO_STR = "[hecto]"; public static final String HECTO_HUND_STR = "[hund]"; public static final String DECA_STR = "[deca]"; public static final String DECA_TEN_STR = "[ten]"; public static final String DECI_STR = "[deci]"; public static final String CENTI_STR = "[centi]"; public static final String MILLI_STR = "[milli]"; public static final String MICRO_STR = "[mic]"; public static final String NANO_STR = "[n]"; public static final String PICO_STR = "[p]"; public static final String FEMTO_STR = "[f]"; public static final String ATTO_STR = "[a]"; public static final String ZEPTO_STR = "[z]"; public static final String YOCTO_STR = "[y]"; /* Units of length / distance */ public static final String METRE_STR = "[m]"; public static final String KILOMETRE_STR = "[km]"; public static final String CENTIMETRE_STR = "[cm]"; public static final String MILLIMETRE_STR = "[mm]"; public static final String INCH_STR = "[inch]"; public static final String YARD_STR = "[yd]"; public static final String FEET_STR = "[ft]"; public static final String MILE_STR = "[mile]"; public static final String NAUTICAL_MILE_STR = "[nmi]"; /* Units of area */ public static final String METRE2_STR = "[m2]"; public static final String CENTIMETRE2_STR = "[cm2]"; public static final String MILLIMETRE2_STR = "[mm2]"; public static final String ARE_STR = "[are]"; public static final String HECTARE_STR = "[ha]"; public static final String ACRE_STR = "[acre]"; public static final String KILOMETRE2_STR = "[km2]"; /* Units of volume */ public static final String MILLIMETRE3_STR = "[mm3]"; public static final String CENTIMETRE3_STR = "[cm3]"; public static final String METRE3_STR = "[m3]"; public static final String KILOMETRE3_STR = "[km3]"; public static final String MILLILITRE_STR = "[ml]"; public static final String LITRE_STR = "[l]"; public static final String GALLON_STR = "[gall]"; public static final String PINT_STR = "[pint]"; /* Units of time */ public static final String SECOND_STR = "[s]"; public static final String MILLISECOND_STR = "[ms]"; public static final String MINUTE_STR = "[min]"; public static final String HOUR_STR = "[h]"; public static final String DAY_STR = "[day]"; public static final String WEEK_STR = "[week]"; public static final String JULIAN_YEAR_STR = "[yearj]"; /* Units of mass */ public static final String KILOGRAM_STR = "[kg]"; public static final String GRAM_STR = "[gr]"; public static final String MILLIGRAM_STR = "[mg]"; public static final String DECAGRAM_STR = "[dag]"; public static final String TONNE_STR = "[t]"; public static final String OUNCE_STR = "[oz]"; public static final String POUND_STR = "[lb]"; /* Units of information */ public static final String BIT_STR = "[b]"; public static final String KILOBIT_STR = "[kb]"; public static final String MEGABIT_STR = "[Mb]"; public static final String GIGABIT_STR = "[Gb]"; public static final String TERABIT_STR = "[Tb]"; public static final String PETABIT_STR = "[Pb]"; public static final String EXABIT_STR = "[Eb]"; public static final String ZETTABIT_STR = "[Zb]"; public static final String YOTTABIT_STR = "[Yb]"; public static final String BYTE_STR = "[B]"; public static final String KILOBYTE_STR = "[kB]"; public static final String MEGABYTE_STR = "[MB]"; public static final String GIGABYTE_STR = "[GB]"; public static final String TERABYTE_STR = "[TB]"; public static final String PETABYTE_STR = "[PB]"; public static final String EXABYTE_STR = "[EB]"; public static final String ZETTABYTE_STR = "[ZB]"; public static final String YOTTABYTE_STR = "[YB]"; /* Units of energy */ public static final String JOULE_STR = "[J]"; public static final String ELECTRONO_VOLT_STR = "[eV]"; public static final String KILO_ELECTRONO_VOLT_STR = "[keV]"; public static final String MEGA_ELECTRONO_VOLT_STR = "[MeV]"; public static final String GIGA_ELECTRONO_VOLT_STR = "[GeV]"; public static final String TERA_ELECTRONO_VOLT_STR = "[TeV]"; /* Units of speed */ public static final String METRE_PER_SECOND_STR = "[m/s]"; public static final String KILOMETRE_PER_HOUR_STR = "[km/h]"; public static final String MILE_PER_HOUR_STR = "[mi/h]"; public static final String KNOT_STR = "[knot]"; /* Units of acceleration */ public static final String METRE_PER_SECOND2_STR = "[m/s2]"; public static final String KILOMETRE_PER_HOUR2_STR = "[km/h2]"; public static final String MILE_PER_HOUR2_STR = "[mi/h2]"; /* Units of angle */ public static final String RADIAN_ARC_STR = "[rad]"; public static final String DEGREE_ARC_STR = "[deg]"; public static final String MINUTE_ARC_STR = "[']"; public static final String SECOND_ARC_STR = "['']"; /* * Unit - syntax. */ /* Ratio, Fraction */ public static final String PERC_SYN = PERC_STR; public static final String PERM_SYN = PERM_STR; /* Metric prefixes */ public static final String YOTTA_SYN = YOTTA_STR; public static final String YOTTA_SEPT_SYN = YOTTA_SEPT_STR; public static final String ZETTA_SYN = ZETTA_STR; public static final String ZETTA_SEXT_SYN = ZETTA_SEXT_STR; public static final String EXA_SYN = EXA_STR; public static final String EXA_QUINT_SYN = EXA_QUINT_STR; public static final String PETA_SYN = PETA_STR; public static final String PETA_QUAD_SYN = PETA_QUAD_STR; public static final String TERA_SYN = TERA_STR; public static final String TERA_TRIL_SYN = TERA_TRIL_STR; public static final String GIGA_SYN = GIGA_STR; public static final String GIGA_BIL_SYN = GIGA_BIL_STR; public static final String MEGA_SYN = MEGA_STR; public static final String MEGA_MIL_SYN = MEGA_MIL_STR; public static final String KILO_SYN = KILO_STR; public static final String KILO_TH_SYN = KILO_TH_STR; public static final String HECTO_SYN = HECTO_STR; public static final String HECTO_HUND_SYN = HECTO_HUND_STR; public static final String DECA_SYN = DECA_STR; public static final String DECA_TEN_SYN = DECA_TEN_STR; public static final String DECI_SYN = DECI_STR; public static final String CENTI_SYN = CENTI_STR; public static final String MILLI_SYN = MILLI_STR; public static final String MICRO_SYN = MICRO_STR; public static final String NANO_SYN = NANO_STR; public static final String PICO_SYN = PICO_STR; public static final String FEMTO_SYN = FEMTO_STR; public static final String ATTO_SYN = ATTO_STR; public static final String ZEPTO_SYN = ZEPTO_STR; public static final String YOCTO_SYN = YOCTO_STR; /* Units of length / distance */ public static final String METRE_SYN = METRE_STR; public static final String KILOMETRE_SYN = KILOMETRE_STR; public static final String CENTIMETRE_SYN = CENTIMETRE_STR; public static final String MILLIMETRE_SYN = MILLIMETRE_STR; public static final String INCH_SYN = INCH_STR; public static final String YARD_SYN = YARD_STR; public static final String FEET_SYN = FEET_STR; public static final String MILE_SYN = MILE_STR; public static final String NAUTICAL_MILE_SYN = NAUTICAL_MILE_STR; /* Units of area */ public static final String METRE2_SYN = METRE2_STR; public static final String CENTIMETRE2_SYN = CENTIMETRE2_STR; public static final String MILLIMETRE2_SYN = MILLIMETRE2_STR; public static final String ARE_SYN = ARE_STR; public static final String HECTARE_SYN = HECTARE_STR; public static final String ACRE_SYN = ACRE_STR; public static final String KILOMETRE2_SYN = KILOMETRE2_STR; /* Units of volume */ public static final String MILLIMETRE3_SYN = MILLIMETRE3_STR; public static final String CENTIMETRE3_SYN = CENTIMETRE3_STR; public static final String METRE3_SYN = METRE3_STR; public static final String KILOMETRE3_SYN = KILOMETRE3_STR; public static final String MILLILITRE_SYN = MILLILITRE_STR; public static final String LITRE_SYN = LITRE_STR; public static final String GALLON_SYN = GALLON_STR; public static final String PINT_SYN = PINT_STR; /* Units of time */ public static final String SECOND_SYN = SECOND_STR; public static final String MILLISECOND_SYN = MILLISECOND_STR; public static final String MINUTE_SYN = MINUTE_STR; public static final String HOUR_SYN = HOUR_STR; public static final String DAY_SYN = DAY_STR; public static final String WEEK_SYN = WEEK_STR; public static final String JULIAN_YEAR_SYN = JULIAN_YEAR_STR; /* Units of mass */ public static final String KILOGRAM_SYN = KILOGRAM_STR; public static final String GRAM_SYN = GRAM_STR; public static final String MILLIGRAM_SYN = MILLIGRAM_STR; public static final String DECAGRAM_SYN = DECAGRAM_STR; public static final String TONNE_SYN = TONNE_STR; public static final String OUNCE_SYN = OUNCE_STR; public static final String POUND_SYN = POUND_STR; /* Units of information */ public static final String BIT_SYN = BIT_STR; public static final String KILOBIT_SYN = KILOBIT_STR; public static final String MEGABIT_SYN = MEGABIT_STR; public static final String GIGABIT_SYN = GIGABIT_STR; public static final String TERABIT_SYN = TERABIT_STR; public static final String PETABIT_SYN = PETABIT_STR; public static final String EXABIT_SYN = EXABIT_STR; public static final String ZETTABIT_SYN = ZETTABIT_STR; public static final String YOTTABIT_SYN = YOTTABIT_STR; public static final String BYTE_SYN = BYTE_STR; public static final String KILOBYTE_SYN = KILOBYTE_STR; public static final String MEGABYTE_SYN = MEGABYTE_STR; public static final String GIGABYTE_SYN = GIGABYTE_STR; public static final String TERABYTE_SYN = TERABYTE_STR; public static final String PETABYTE_SYN = PETABYTE_STR; public static final String EXABYTE_SYN = EXABYTE_STR; public static final String ZETTABYTE_SYN = ZETTABYTE_STR; public static final String YOTTABYTE_SYN = YOTTABYTE_STR; /* Units of energy */ public static final String JOULE_SYN = JOULE_STR; public static final String ELECTRONO_VOLT_SYN = ELECTRONO_VOLT_STR; public static final String KILO_ELECTRONO_VOLT_SYN = KILO_ELECTRONO_VOLT_STR; public static final String MEGA_ELECTRONO_VOLT_SYN = MEGA_ELECTRONO_VOLT_STR; public static final String GIGA_ELECTRONO_VOLT_SYN = GIGA_ELECTRONO_VOLT_STR; public static final String TERA_ELECTRONO_VOLT_SYN = TERA_ELECTRONO_VOLT_STR; /* Units of speed */ public static final String METRE_PER_SECOND_SYN = METRE_PER_SECOND_STR; public static final String KILOMETRE_PER_HOUR_SYN = KILOMETRE_PER_HOUR_STR; public static final String MILE_PER_HOUR_SYN = MILE_PER_HOUR_STR; public static final String KNOT_SYN = KNOT_STR; /* Units of acceleration */ public static final String METRE_PER_SECOND2_SYN = METRE_PER_SECOND2_STR; public static final String KILOMETRE_PER_HOUR2_SYN = KILOMETRE_PER_HOUR2_STR; public static final String MILE_PER_HOUR2_SYN = MILE_PER_HOUR2_STR; /* Units of angle */ public static final String RADIAN_ARC_SYN = RADIAN_ARC_STR; public static final String DEGREE_ARC_SYN = DEGREE_ARC_STR; public static final String MINUTE_ARC_SYN = MINUTE_ARC_STR; public static final String SECOND_ARC_SYN = SECOND_ARC_STR; /* * Unit - tokens description. */ public static String PERC_DESC = ParserSymbol.NA; public static String PERM_DESC = ParserSymbol.NA; public static String YOTTA_DESC = ParserSymbol.NA; public static String ZETTA_DESC = ParserSymbol.NA; public static String EXA_DESC = ParserSymbol.NA; public static String PETA_DESC = ParserSymbol.NA; public static String TERA_DESC = ParserSymbol.NA; public static String GIGA_DESC = ParserSymbol.NA; public static String MEGA_DESC = ParserSymbol.NA; public static String KILO_DESC = ParserSymbol.NA; public static String HECTO_DESC = ParserSymbol.NA; public static String DECA_DESC = ParserSymbol.NA; public static String DECI_DESC = ParserSymbol.NA; public static String CENTI_DESC = ParserSymbol.NA; public static String MILLI_DESC = ParserSymbol.NA; public static String MICRO_DESC = ParserSymbol.NA; public static String NANO_DESC = ParserSymbol.NA; public static String PICO_DESC = ParserSymbol.NA; public static String FEMTO_DESC = ParserSymbol.NA; public static String ATTO_DESC = ParserSymbol.NA; public static String ZEPTO_DESC = ParserSymbol.NA; public static String YOCTO_DESC = ParserSymbol.NA; public static String METRE_DESC = ParserSymbol.NA; public static String KILOMETRE_DESC = ParserSymbol.NA; public static String CENTIMETRE_DESC = ParserSymbol.NA; public static String MILLIMETRE_DESC = ParserSymbol.NA; public static String INCH_DESC = ParserSymbol.NA; public static String YARD_DESC = ParserSymbol.NA; public static String FEET_DESC = ParserSymbol.NA; public static String MILE_DESC = ParserSymbol.NA; public static String NAUTICAL_MILE_DESC = ParserSymbol.NA; public static String METRE2_DESC = ParserSymbol.NA; public static String CENTIMETRE2_DESC = ParserSymbol.NA; public static String MILLIMETRE2_DESC = ParserSymbol.NA; public static String ARE_DESC = ParserSymbol.NA; public static String HECTARE_DESC = ParserSymbol.NA; public static String ACRE_DESC = ParserSymbol.NA; public static String KILOMETRE2_DESC = ParserSymbol.NA; public static String MILLIMETRE3_DESC = ParserSymbol.NA; public static String CENTIMETRE3_DESC = ParserSymbol.NA; public static String METRE3_DESC = ParserSymbol.NA; public static String KILOMETRE3_DESC = ParserSymbol.NA; public static String MILLILITRE_DESC = ParserSymbol.NA; public static String LITRE_DESC = ParserSymbol.NA; public static String GALLON_DESC = ParserSymbol.NA; public static String PINT_DESC = ParserSymbol.NA; public static String SECOND_DESC = ParserSymbol.NA; public static String MILLISECOND_DESC = ParserSymbol.NA; public static String MINUTE_DESC = ParserSymbol.NA; public static String HOUR_DESC = ParserSymbol.NA; public static String DAY_DESC = ParserSymbol.NA; public static String WEEK_DESC = ParserSymbol.NA; public static String JULIAN_YEAR_DESC = ParserSymbol.NA; public static String KILOGRAM_DESC = ParserSymbol.NA; public static String GRAM_DESC = ParserSymbol.NA; public static String MILLIGRAM_DESC = ParserSymbol.NA; public static String DECAGRAM_DESC = ParserSymbol.NA; public static String TONNE_DESC = ParserSymbol.NA; public static String OUNCE_DESC = ParserSymbol.NA; public static String POUND_DESC = ParserSymbol.NA; public static String BIT_DESC = ParserSymbol.NA; public static String KILOBIT_DESC = ParserSymbol.NA; public static String MEGABIT_DESC = ParserSymbol.NA; public static String GIGABIT_DESC = ParserSymbol.NA; public static String TERABIT_DESC = ParserSymbol.NA; public static String PETABIT_DESC = ParserSymbol.NA; public static String EXABIT_DESC = ParserSymbol.NA; public static String ZETTABIT_DESC = ParserSymbol.NA; public static String YOTTABIT_DESC = ParserSymbol.NA; public static String BYTE_DESC = ParserSymbol.NA; public static String KILOBYTE_DESC = ParserSymbol.NA; public static String MEGABYTE_DESC = ParserSymbol.NA; public static String GIGABYTE_DESC = ParserSymbol.NA; public static String TERABYTE_DESC = ParserSymbol.NA; public static String PETABYTE_DESC = ParserSymbol.NA; public static String EXABYTE_DESC = ParserSymbol.NA; public static String ZETTABYTE_DESC = ParserSymbol.NA; public static String YOTTABYTE_DESC = ParserSymbol.NA; public static String JOULE_DESC = ParserSymbol.NA; public static String ELECTRONO_VOLT_DESC = ParserSymbol.NA; public static String KILO_ELECTRONO_VOLT_DESC = ParserSymbol.NA; public static String MEGA_ELECTRONO_VOLT_DESC = ParserSymbol.NA; public static String GIGA_ELECTRONO_VOLT_DESC = ParserSymbol.NA; public static String TERA_ELECTRONO_VOLT_DESC = ParserSymbol.NA; public static String METRE_PER_SECOND_DESC = ParserSymbol.NA; public static String KILOMETRE_PER_HOUR_DESC = ParserSymbol.NA; public static String MILE_PER_HOUR_DESC = ParserSymbol.NA; public static String KNOT_DESC = ParserSymbol.NA; public static String METRE_PER_SECOND2_DESC = ParserSymbol.NA; public static String KILOMETRE_PER_HOUR2_DESC = ParserSymbol.NA; public static String MILE_PER_HOUR2_DESC = ParserSymbol.NA; public static String RADIAN_ARC_DESC = ParserSymbol.NA; public static String DEGREE_ARC_DESC = ParserSymbol.NA; public static String MINUTE_ARC_DESC = ParserSymbol.NA; public static String SECOND_ARC_DESC = ParserSymbol.NA; /* * Unit - since. */ /* Ratio, Fraction */ public static final String PERC_SINCE = mXparser.NAMEv40; public static final String PERM_SINCE = mXparser.NAMEv40; /* Metric prefixes */ public static final String YOTTA_SINCE = mXparser.NAMEv40; public static final String ZETTA_SINCE = mXparser.NAMEv40; public static final String EXA_SINCE = mXparser.NAMEv40; public static final String PETA_SINCE = mXparser.NAMEv40; public static final String TERA_SINCE = mXparser.NAMEv40; public static final String GIGA_SINCE = mXparser.NAMEv40; public static final String MEGA_SINCE = mXparser.NAMEv40; public static final String KILO_SINCE = mXparser.NAMEv40; public static final String HECTO_SINCE = mXparser.NAMEv40; public static final String DECA_SINCE = mXparser.NAMEv40; public static final String DECI_SINCE = mXparser.NAMEv40; public static final String CENTI_SINCE = mXparser.NAMEv40; public static final String MILLI_SINCE = mXparser.NAMEv40; public static final String MICRO_SINCE = mXparser.NAMEv40; public static final String NANO_SINCE = mXparser.NAMEv40; public static final String PICO_SINCE = mXparser.NAMEv40; public static final String FEMTO_SINCE = mXparser.NAMEv40; public static final String ATTO_SINCE = mXparser.NAMEv40; public static final String ZEPTO_SINCE = mXparser.NAMEv40; public static final String YOCTO_SINCE = mXparser.NAMEv40; /* Units of length / distance */ public static final String METRE_SINCE = mXparser.NAMEv40; public static final String KILOMETRE_SINCE = mXparser.NAMEv40; public static final String CENTIMETRE_SINCE = mXparser.NAMEv40; public static final String MILLIMETRE_SINCE = mXparser.NAMEv40; public static final String INCH_SINCE = mXparser.NAMEv40; public static final String YARD_SINCE = mXparser.NAMEv40; public static final String FEET_SINCE = mXparser.NAMEv40; public static final String MILE_SINCE = mXparser.NAMEv40; public static final String NAUTICAL_MILE_SINCE = mXparser.NAMEv40; /* Units of area */ public static final String METRE2_SINCE = mXparser.NAMEv40; public static final String CENTIMETRE2_SINCE = mXparser.NAMEv40; public static final String MILLIMETRE2_SINCE = mXparser.NAMEv40; public static final String ARE_SINCE = mXparser.NAMEv40; public static final String HECTARE_SINCE = mXparser.NAMEv40; public static final String ACRE_SINCE = mXparser.NAMEv40; public static final String KILOMETRE2_SINCE = mXparser.NAMEv40; /* Units of volume */ public static final String MILLIMETRE3_SINCE = mXparser.NAMEv40; public static final String CENTIMETRE3_SINCE = mXparser.NAMEv40; public static final String METRE3_SINCE = mXparser.NAMEv40; public static final String KILOMETRE3_SINCE = mXparser.NAMEv40; public static final String MILLILITRE_SINCE = mXparser.NAMEv40; public static final String LITRE_SINCE = mXparser.NAMEv40; public static final String GALLON_SINCE = mXparser.NAMEv40; public static final String PINT_SINCE = mXparser.NAMEv40; /* Units of time */ public static final String SECOND_SINCE = mXparser.NAMEv40; public static final String MILLISECOND_SINCE = mXparser.NAMEv40; public static final String MINUTE_SINCE = mXparser.NAMEv40; public static final String HOUR_SINCE = mXparser.NAMEv40; public static final String DAY_SINCE = mXparser.NAMEv40; public static final String WEEK_SINCE = mXparser.NAMEv40; public static final String JULIAN_YEAR_SINCE = mXparser.NAMEv40; /* Units of mass */ public static final String KILOGRAM_SINCE = mXparser.NAMEv40; public static final String GRAM_SINCE = mXparser.NAMEv40; public static final String MILLIGRAM_SINCE = mXparser.NAMEv40; public static final String DECAGRAM_SINCE = mXparser.NAMEv40; public static final String TONNE_SINCE = mXparser.NAMEv40; public static final String OUNCE_SINCE = mXparser.NAMEv40; public static final String POUND_SINCE = mXparser.NAMEv40; /* Units of information */ public static final String BIT_SINCE = mXparser.NAMEv40; public static final String KILOBIT_SINCE = mXparser.NAMEv40; public static final String MEGABIT_SINCE = mXparser.NAMEv40; public static final String GIGABIT_SINCE = mXparser.NAMEv40; public static final String TERABIT_SINCE = mXparser.NAMEv40; public static final String PETABIT_SINCE = mXparser.NAMEv40; public static final String EXABIT_SINCE = mXparser.NAMEv40; public static final String ZETTABIT_SINCE = mXparser.NAMEv40; public static final String YOTTABIT_SINCE = mXparser.NAMEv40; public static final String BYTE_SINCE = mXparser.NAMEv40; public static final String KILOBYTE_SINCE = mXparser.NAMEv40; public static final String MEGABYTE_SINCE = mXparser.NAMEv40; public static final String GIGABYTE_SINCE = mXparser.NAMEv40; public static final String TERABYTE_SINCE = mXparser.NAMEv40; public static final String PETABYTE_SINCE = mXparser.NAMEv40; public static final String EXABYTE_SINCE = mXparser.NAMEv40; public static final String ZETTABYTE_SINCE = mXparser.NAMEv40; public static final String YOTTABYTE_SINCE = mXparser.NAMEv40; /* Units of energy */ public static final String JOULE_SINCE = mXparser.NAMEv40; public static final String ELECTRONO_VOLT_SINCE = mXparser.NAMEv40; public static final String KILO_ELECTRONO_VOLT_SINCE = mXparser.NAMEv40; public static final String MEGA_ELECTRONO_VOLT_SINCE = mXparser.NAMEv40; public static final String GIGA_ELECTRONO_VOLT_SINCE = mXparser.NAMEv40; public static final String TERA_ELECTRONO_VOLT_SINCE = mXparser.NAMEv40; /* Units of speed */ public static final String METRE_PER_SECOND_SINCE = mXparser.NAMEv40; public static final String KILOMETRE_PER_HOUR_SINCE = mXparser.NAMEv40; public static final String MILE_PER_HOUR_SINCE = mXparser.NAMEv40; public static final String KNOT_SINCE = mXparser.NAMEv40; /* Units of acceleration */ public static final String METRE_PER_SECOND2_SINCE = mXparser.NAMEv40; public static final String KILOMETRE_PER_HOUR2_SINCE = mXparser.NAMEv40; public static final String MILE_PER_HOUR2_SINCE = mXparser.NAMEv40; /* Units of angle */ public static final String RADIAN_ARC_SINCE = mXparser.NAMEv40; public static final String DEGREE_ARC_SINCE = mXparser.NAMEv40; public static final String MINUTE_ARC_SINCE = mXparser.NAMEv40; public static final String SECOND_ARC_SINCE = mXparser.NAMEv40; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy