Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
LengthType
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2/**
3 * Jingga
4 *
5 * PHP Version 8.1
6 *
7 * @package   phpOMS\Utils\Converter
8 * @copyright Dennis Eichhorn
9 * @license   OMS License 2.0
10 * @version   1.0.0
11 * @link      https://jingga.app
12 */
13declare(strict_types=1);
14
15namespace phpOMS\Utils\Converter;
16
17use phpOMS\Stdlib\Base\Enum;
18
19/**
20 * Length type enum.
21 *
22 * @package phpOMS\Utils\Converter
23 * @license OMS License 2.0
24 * @link    https://jingga.app
25 * @since   1.0.0
26 */
27abstract class LengthType extends Enum
28{
29    public const MILES = 'mi';
30
31    public const METERS = 'm';
32
33    public const NANOMETER = 'nm';
34
35    public const MICROMETER = 'micron';
36
37    public const CENTIMETERS = 'cm';
38
39    public const MILLIMETERS = 'mm';
40
41    public const KILOMETERS = 'km';
42
43    public const CHAINS = 'ch';
44
45    public const FEET = 'ft';
46
47    public const FURLONGS = 'fur';
48
49    public const MICROINCH = 'muin';
50
51    public const INCHES = 'in';
52
53    public const YARDS = 'yd';
54
55    public const PARSECS = 'pc';
56
57    public const UK_NAUTICAL_MILES = 'uk nmi';
58
59    public const US_NAUTICAL_MILES = 'us nmi';
60
61    public const UK_NAUTICAL_LEAGUES = 'uk nl';
62
63    public const NAUTICAL_LEAGUES = 'nl';
64
65    public const UK_LEAGUES = 'uk lg';
66
67    public const US_LEAGUES = 'us lg';
68
69    public const LIGHTYEARS = 'ly';
70
71    public const DECIMETERS = 'dm';
72}