Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
SpeedType
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 * Speed 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 SpeedType extends Enum
28{
29    public const MILES_PER_DAY = 'mpd';
30
31    public const MILES_PER_HOUR = 'mph';
32
33    public const MILES_PER_MINUTE = 'mpm';
34
35    public const MILES_PER_SECOND = 'mps';
36
37    public const KILOMETERS_PER_DAY = 'kpd';
38
39    public const KILOMETERS_PER_HOUR = 'kph';
40
41    public const KILOMETERS_PER_MINUTE = 'kpm';
42
43    public const KILOMETERS_PER_SECOND = 'kps';
44
45    public const METERS_PER_DAY = 'md';
46
47    public const METERS_PER_HOUR = 'mh';
48
49    public const METERS_PER_MINUTE = 'mm';
50
51    public const METERS_PER_SECOND = 'ms';
52
53    public const CENTIMETERS_PER_DAY = 'cpd';
54
55    public const CENTIMETERS_PER_HOUR = 'cph';
56
57    public const CENTIMETERS_PER_MINUTES = 'cpm';
58
59    public const CENTIMETERS_PER_SECOND = 'cps';
60
61    public const MILLIMETERS_PER_DAY = 'mmpd';
62
63    public const MILLIMETERS_PER_HOUR = 'mmph';
64
65    public const MILLIMETERS_PER_MINUTE = 'mmpm';
66
67    public const MILLIMETERS_PER_SECOND = 'mmps';
68
69    public const YARDS_PER_DAY = 'ypd';
70
71    public const YARDS_PER_HOUR = 'yph';
72
73    public const YARDS_PER_MINUTE = 'ypm';
74
75    public const YARDS_PER_SECOND = 'yps';
76
77    public const INCHES_PER_DAY = 'ind';
78
79    public const INCHES_PER_HOUR = 'inh';
80
81    public const INCHES_PER_MINUTE = 'inm';
82
83    public const INCHES_PER_SECOND = 'ins';
84
85    public const FEET_PER_DAY = 'ftd';
86
87    public const FEET_PER_HOUR = 'fth';
88
89    public const FEET_PER_MINUTE = 'ftm';
90
91    public const FEET_PER_SECOND = 'fts';
92
93    public const MACH = 'mach';
94
95    public const KNOTS = 'knots';
96}