mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
105 lines
2.0 KiB
PHP
Executable File
105 lines
2.0 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Jingga
|
|
*
|
|
* PHP Version 8.2
|
|
*
|
|
* @package phpOMS\Utils\Converter
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace phpOMS\Utils\Converter;
|
|
|
|
use phpOMS\Stdlib\Base\Enum;
|
|
|
|
/**
|
|
* Volume type enum.
|
|
*
|
|
* @package phpOMS\Utils\Converter
|
|
* @license OMS License 2.0
|
|
* @link https://jingga.app
|
|
* @since 1.0.0
|
|
*/
|
|
abstract class VolumeType extends Enum
|
|
{
|
|
public const UK_GALLON = 'UK gal';
|
|
|
|
public const US_GALLON_LIQUID = 'US gal lqd';
|
|
|
|
public const US_GALLON_DRY = 'US gal dry';
|
|
|
|
public const UK_PINT = 'pt';
|
|
|
|
public const US_PINT_LIQUID = 'US pt lqd';
|
|
|
|
public const US_PINT_DRY = 'US pt dry';
|
|
|
|
public const US_QUARTS_LIQUID = 'US qt lqd';
|
|
|
|
public const US_QUARTS_DRY = 'US qt dry';
|
|
|
|
public const UK_QUARTS = 'UK qt dry';
|
|
|
|
public const US_GILL = 'US gi';
|
|
|
|
public const UK_GILL = 'UK gi';
|
|
|
|
public const LITER = 'l';
|
|
|
|
public const MICROLITER = 'mul';
|
|
|
|
public const MILLILITER = 'ml';
|
|
|
|
public const CENTILITER = 'cl';
|
|
|
|
public const KILOLITER = 'kl';
|
|
|
|
public const UK_BARREL = 'UK bbl';
|
|
|
|
public const US_BARREL_DRY = 'US bbl dry';
|
|
|
|
public const US_BARREL_LIQUID = 'US bbl lqd';
|
|
|
|
public const US_BARREL_OIL = 'US bbl oil';
|
|
|
|
public const US_BARREL_FEDERAL = 'US bbl fed';
|
|
|
|
public const US_OUNCES = 'us fl oz';
|
|
|
|
public const UK_OUNCES = 'uk fl oz';
|
|
|
|
public const US_TEASPOON = 'US tsp';
|
|
|
|
public const UK_TEASPOON = 'UK tsp';
|
|
|
|
public const METRIC_TEASPOON = 'Metric tsp';
|
|
|
|
public const US_TABLESPOON = 'US tblsp';
|
|
|
|
public const UK_TABLESPOON = 'UK tblsp';
|
|
|
|
public const METRIC_TABLESPOON = 'Metric tblsp';
|
|
|
|
public const US_CUP = 'US cup';
|
|
|
|
public const CAN_CUP = 'Can cup';
|
|
|
|
public const METRIC_CUP = 'Metric cup';
|
|
|
|
public const CUBIC_CENTIMETER = 'cm';
|
|
|
|
public const CUBIC_MILLIMETER = 'mm';
|
|
|
|
public const CUBIC_METER = 'm';
|
|
|
|
public const CUBIC_INCH = 'in';
|
|
|
|
public const CUBIC_FEET = 'ft';
|
|
|
|
public const CUBIC_YARD = 'yd';
|
|
}
|