1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* CODE GENERATED; DO NOT EDIT. |
5
|
|
|
* |
6
|
|
|
* {@see \ICanBoogie\CLDR\Generator\Command\GenerateUnitsCompanion} |
7
|
|
|
*/ |
8
|
|
|
|
9
|
|
|
namespace ICanBoogie\CLDR\Supplemental\Units; |
10
|
|
|
|
11
|
|
|
/** |
12
|
|
|
* @internal |
13
|
|
|
* @codeCoverageIgnore |
14
|
|
|
* |
15
|
|
|
* @property-read Unit $acceleration_g_force |
16
|
|
|
* @property-read Unit $acceleration_meter_per_square_second |
17
|
|
|
* @property-read Unit $angle_revolution |
18
|
|
|
* @property-read Unit $angle_radian |
19
|
|
|
* @property-read Unit $angle_degree |
20
|
|
|
* @property-read Unit $angle_arc_minute |
21
|
|
|
* @property-read Unit $angle_arc_second |
22
|
|
|
* @property-read Unit $area_square_kilometer |
23
|
|
|
* @property-read Unit $area_hectare |
24
|
|
|
* @property-read Unit $area_square_meter |
25
|
|
|
* @property-read Unit $area_square_centimeter |
26
|
|
|
* @property-read Unit $area_square_mile |
27
|
|
|
* @property-read Unit $area_acre |
28
|
|
|
* @property-read Unit $area_square_yard |
29
|
|
|
* @property-read Unit $area_square_foot |
30
|
|
|
* @property-read Unit $area_square_inch |
31
|
|
|
* @property-read Unit $area_dunam |
32
|
|
|
* @property-read Unit $concentr_karat |
33
|
|
|
* @property-read Unit $concentr_milligram_ofglucose_per_deciliter |
34
|
|
|
* @property-read Unit $concentr_millimole_per_liter |
35
|
|
|
* @property-read Unit $concentr_item |
36
|
|
|
* @property-read Unit $concentr_permillion |
37
|
|
|
* @property-read Unit $concentr_percent |
38
|
|
|
* @property-read Unit $concentr_permille |
39
|
|
|
* @property-read Unit $concentr_permyriad |
40
|
|
|
* @property-read Unit $concentr_mole |
41
|
|
|
* @property-read Unit $consumption_liter_per_kilometer |
42
|
|
|
* @property-read Unit $consumption_liter_per_100_kilometer |
43
|
|
|
* @property-read Unit $consumption_mile_per_gallon |
44
|
|
|
* @property-read Unit $consumption_mile_per_gallon_imperial |
45
|
|
|
* @property-read Unit $digital_petabyte |
46
|
|
|
* @property-read Unit $digital_terabyte |
47
|
|
|
* @property-read Unit $digital_terabit |
48
|
|
|
* @property-read Unit $digital_gigabyte |
49
|
|
|
* @property-read Unit $digital_gigabit |
50
|
|
|
* @property-read Unit $digital_megabyte |
51
|
|
|
* @property-read Unit $digital_megabit |
52
|
|
|
* @property-read Unit $digital_kilobyte |
53
|
|
|
* @property-read Unit $digital_kilobit |
54
|
|
|
* @property-read Unit $digital_byte |
55
|
|
|
* @property-read Unit $digital_bit |
56
|
|
|
* @property-read Unit $duration_century |
57
|
|
|
* @property-read Unit $duration_decade |
58
|
|
|
* @property-read Unit $duration_year |
59
|
|
|
* @property-read Unit $duration_quarter |
60
|
|
|
* @property-read Unit $duration_month |
61
|
|
|
* @property-read Unit $duration_week |
62
|
|
|
* @property-read Unit $duration_day |
63
|
|
|
* @property-read Unit $duration_hour |
64
|
|
|
* @property-read Unit $duration_minute |
65
|
|
|
* @property-read Unit $duration_second |
66
|
|
|
* @property-read Unit $duration_millisecond |
67
|
|
|
* @property-read Unit $duration_microsecond |
68
|
|
|
* @property-read Unit $duration_nanosecond |
69
|
|
|
* @property-read Unit $electric_ampere |
70
|
|
|
* @property-read Unit $electric_milliampere |
71
|
|
|
* @property-read Unit $electric_ohm |
72
|
|
|
* @property-read Unit $electric_volt |
73
|
|
|
* @property-read Unit $energy_kilocalorie |
74
|
|
|
* @property-read Unit $energy_calorie |
75
|
|
|
* @property-read Unit $energy_foodcalorie |
76
|
|
|
* @property-read Unit $energy_kilojoule |
77
|
|
|
* @property-read Unit $energy_joule |
78
|
|
|
* @property-read Unit $energy_kilowatt_hour |
79
|
|
|
* @property-read Unit $energy_electronvolt |
80
|
|
|
* @property-read Unit $energy_british_thermal_unit |
81
|
|
|
* @property-read Unit $energy_therm_us |
82
|
|
|
* @property-read Unit $force_pound_force |
83
|
|
|
* @property-read Unit $force_newton |
84
|
|
|
* @property-read Unit $force_kilowatt_hour_per_100_kilometer |
85
|
|
|
* @property-read Unit $frequency_gigahertz |
86
|
|
|
* @property-read Unit $frequency_megahertz |
87
|
|
|
* @property-read Unit $frequency_kilohertz |
88
|
|
|
* @property-read Unit $frequency_hertz |
89
|
|
|
* @property-read Unit $graphics_em |
90
|
|
|
* @property-read Unit $graphics_pixel |
91
|
|
|
* @property-read Unit $graphics_megapixel |
92
|
|
|
* @property-read Unit $graphics_pixel_per_centimeter |
93
|
|
|
* @property-read Unit $graphics_pixel_per_inch |
94
|
|
|
* @property-read Unit $graphics_dot_per_centimeter |
95
|
|
|
* @property-read Unit $graphics_dot_per_inch |
96
|
|
|
* @property-read Unit $graphics_dot |
97
|
|
|
* @property-read Unit $length_earth_radius |
98
|
|
|
* @property-read Unit $length_kilometer |
99
|
|
|
* @property-read Unit $length_meter |
100
|
|
|
* @property-read Unit $length_decimeter |
101
|
|
|
* @property-read Unit $length_centimeter |
102
|
|
|
* @property-read Unit $length_millimeter |
103
|
|
|
* @property-read Unit $length_micrometer |
104
|
|
|
* @property-read Unit $length_nanometer |
105
|
|
|
* @property-read Unit $length_picometer |
106
|
|
|
* @property-read Unit $length_mile |
107
|
|
|
* @property-read Unit $length_yard |
108
|
|
|
* @property-read Unit $length_foot |
109
|
|
|
* @property-read Unit $length_inch |
110
|
|
|
* @property-read Unit $length_parsec |
111
|
|
|
* @property-read Unit $length_light_year |
112
|
|
|
* @property-read Unit $length_astronomical_unit |
113
|
|
|
* @property-read Unit $length_furlong |
114
|
|
|
* @property-read Unit $length_fathom |
115
|
|
|
* @property-read Unit $length_nautical_mile |
116
|
|
|
* @property-read Unit $length_mile_scandinavian |
117
|
|
|
* @property-read Unit $length_point |
118
|
|
|
* @property-read Unit $length_solar_radius |
119
|
|
|
* @property-read Unit $light_lux |
120
|
|
|
* @property-read Unit $light_candela |
121
|
|
|
* @property-read Unit $light_lumen |
122
|
|
|
* @property-read Unit $light_solar_luminosity |
123
|
|
|
* @property-read Unit $mass_tonne |
124
|
|
|
* @property-read Unit $mass_kilogram |
125
|
|
|
* @property-read Unit $mass_gram |
126
|
|
|
* @property-read Unit $mass_milligram |
127
|
|
|
* @property-read Unit $mass_microgram |
128
|
|
|
* @property-read Unit $mass_ton |
129
|
|
|
* @property-read Unit $mass_stone |
130
|
|
|
* @property-read Unit $mass_pound |
131
|
|
|
* @property-read Unit $mass_ounce |
132
|
|
|
* @property-read Unit $mass_ounce_troy |
133
|
|
|
* @property-read Unit $mass_carat |
134
|
|
|
* @property-read Unit $mass_dalton |
135
|
|
|
* @property-read Unit $mass_earth_mass |
136
|
|
|
* @property-read Unit $mass_solar_mass |
137
|
|
|
* @property-read Unit $mass_grain |
138
|
|
|
* @property-read Unit $power_gigawatt |
139
|
|
|
* @property-read Unit $power_megawatt |
140
|
|
|
* @property-read Unit $power_kilowatt |
141
|
|
|
* @property-read Unit $power_watt |
142
|
|
|
* @property-read Unit $power_milliwatt |
143
|
|
|
* @property-read Unit $power_horsepower |
144
|
|
|
* @property-read Unit $pressure_millimeter_ofhg |
145
|
|
|
* @property-read Unit $pressure_pound_force_per_square_inch |
146
|
|
|
* @property-read Unit $pressure_inch_ofhg |
147
|
|
|
* @property-read Unit $pressure_bar |
148
|
|
|
* @property-read Unit $pressure_millibar |
149
|
|
|
* @property-read Unit $pressure_atmosphere |
150
|
|
|
* @property-read Unit $pressure_pascal |
151
|
|
|
* @property-read Unit $pressure_hectopascal |
152
|
|
|
* @property-read Unit $pressure_kilopascal |
153
|
|
|
* @property-read Unit $pressure_megapascal |
154
|
|
|
* @property-read Unit $speed_kilometer_per_hour |
155
|
|
|
* @property-read Unit $speed_meter_per_second |
156
|
|
|
* @property-read Unit $speed_mile_per_hour |
157
|
|
|
* @property-read Unit $speed_knot |
158
|
|
|
* @property-read Unit $speed_beaufort |
159
|
|
|
* @property-read Unit $temperature_generic |
160
|
|
|
* @property-read Unit $temperature_celsius |
161
|
|
|
* @property-read Unit $temperature_fahrenheit |
162
|
|
|
* @property-read Unit $temperature_kelvin |
163
|
|
|
* @property-read Unit $torque_pound_force_foot |
164
|
|
|
* @property-read Unit $torque_newton_meter |
165
|
|
|
* @property-read Unit $volume_cubic_kilometer |
166
|
|
|
* @property-read Unit $volume_cubic_meter |
167
|
|
|
* @property-read Unit $volume_cubic_centimeter |
168
|
|
|
* @property-read Unit $volume_cubic_mile |
169
|
|
|
* @property-read Unit $volume_cubic_yard |
170
|
|
|
* @property-read Unit $volume_cubic_foot |
171
|
|
|
* @property-read Unit $volume_cubic_inch |
172
|
|
|
* @property-read Unit $volume_megaliter |
173
|
|
|
* @property-read Unit $volume_hectoliter |
174
|
|
|
* @property-read Unit $volume_liter |
175
|
|
|
* @property-read Unit $volume_deciliter |
176
|
|
|
* @property-read Unit $volume_centiliter |
177
|
|
|
* @property-read Unit $volume_milliliter |
178
|
|
|
* @property-read Unit $volume_pint_metric |
179
|
|
|
* @property-read Unit $volume_cup_metric |
180
|
|
|
* @property-read Unit $volume_acre_foot |
181
|
|
|
* @property-read Unit $volume_bushel |
182
|
|
|
* @property-read Unit $volume_gallon |
183
|
|
|
* @property-read Unit $volume_gallon_imperial |
184
|
|
|
* @property-read Unit $volume_quart |
185
|
|
|
* @property-read Unit $volume_pint |
186
|
|
|
* @property-read Unit $volume_cup |
187
|
|
|
* @property-read Unit $volume_fluid_ounce |
188
|
|
|
* @property-read Unit $volume_fluid_ounce_imperial |
189
|
|
|
* @property-read Unit $volume_tablespoon |
190
|
|
|
* @property-read Unit $volume_teaspoon |
191
|
|
|
* @property-read Unit $volume_barrel |
192
|
|
|
* @property-read Unit $volume_dessert_spoon |
193
|
|
|
* @property-read Unit $volume_dessert_spoon_imperial |
194
|
|
|
* @property-read Unit $volume_drop |
195
|
|
|
* @property-read Unit $volume_dram |
196
|
|
|
* @property-read Unit $volume_jigger |
197
|
|
|
* @property-read Unit $volume_pinch |
198
|
|
|
* @property-read Unit $volume_quart_imperial |
199
|
|
|
* @property-read Unit $pressure_gasoline_energy_density |
200
|
|
|
*/ |
201
|
|
|
trait UnitsCompanion |
202
|
|
|
{ |
203
|
|
|
/** |
204
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
205
|
|
|
*/ |
206
|
|
|
public function acceleration_g_force(float|int|string $number): NumberWithUnit |
207
|
|
|
{ |
208
|
|
|
return new NumberWithUnit($number, "acceleration-g-force", $this); |
209
|
|
|
} |
210
|
|
|
|
211
|
|
|
/** |
212
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
213
|
|
|
*/ |
214
|
|
|
public function acceleration_meter_per_square_second(float|int|string $number): NumberWithUnit |
215
|
|
|
{ |
216
|
|
|
return new NumberWithUnit($number, "acceleration-meter-per-square-second", $this); |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
221
|
|
|
*/ |
222
|
|
|
public function angle_revolution(float|int|string $number): NumberWithUnit |
223
|
|
|
{ |
224
|
|
|
return new NumberWithUnit($number, "angle-revolution", $this); |
225
|
|
|
} |
226
|
|
|
|
227
|
|
|
/** |
228
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
229
|
|
|
*/ |
230
|
|
|
public function angle_radian(float|int|string $number): NumberWithUnit |
231
|
|
|
{ |
232
|
|
|
return new NumberWithUnit($number, "angle-radian", $this); |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
/** |
236
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
237
|
|
|
*/ |
238
|
|
|
public function angle_degree(float|int|string $number): NumberWithUnit |
239
|
|
|
{ |
240
|
|
|
return new NumberWithUnit($number, "angle-degree", $this); |
241
|
|
|
} |
242
|
|
|
|
243
|
|
|
/** |
244
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
245
|
|
|
*/ |
246
|
|
|
public function angle_arc_minute(float|int|string $number): NumberWithUnit |
247
|
|
|
{ |
248
|
|
|
return new NumberWithUnit($number, "angle-arc-minute", $this); |
249
|
|
|
} |
250
|
|
|
|
251
|
|
|
/** |
252
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
253
|
|
|
*/ |
254
|
|
|
public function angle_arc_second(float|int|string $number): NumberWithUnit |
255
|
|
|
{ |
256
|
|
|
return new NumberWithUnit($number, "angle-arc-second", $this); |
257
|
|
|
} |
258
|
|
|
|
259
|
|
|
/** |
260
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
261
|
|
|
*/ |
262
|
|
|
public function area_square_kilometer(float|int|string $number): NumberWithUnit |
263
|
|
|
{ |
264
|
|
|
return new NumberWithUnit($number, "area-square-kilometer", $this); |
265
|
|
|
} |
266
|
|
|
|
267
|
|
|
/** |
268
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
269
|
|
|
*/ |
270
|
|
|
public function area_hectare(float|int|string $number): NumberWithUnit |
271
|
|
|
{ |
272
|
|
|
return new NumberWithUnit($number, "area-hectare", $this); |
273
|
|
|
} |
274
|
|
|
|
275
|
|
|
/** |
276
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
277
|
|
|
*/ |
278
|
|
|
public function area_square_meter(float|int|string $number): NumberWithUnit |
279
|
|
|
{ |
280
|
|
|
return new NumberWithUnit($number, "area-square-meter", $this); |
281
|
|
|
} |
282
|
|
|
|
283
|
|
|
/** |
284
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
285
|
|
|
*/ |
286
|
|
|
public function area_square_centimeter(float|int|string $number): NumberWithUnit |
287
|
|
|
{ |
288
|
|
|
return new NumberWithUnit($number, "area-square-centimeter", $this); |
289
|
|
|
} |
290
|
|
|
|
291
|
|
|
/** |
292
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
293
|
|
|
*/ |
294
|
|
|
public function area_square_mile(float|int|string $number): NumberWithUnit |
295
|
|
|
{ |
296
|
|
|
return new NumberWithUnit($number, "area-square-mile", $this); |
297
|
|
|
} |
298
|
|
|
|
299
|
|
|
/** |
300
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
301
|
|
|
*/ |
302
|
|
|
public function area_acre(float|int|string $number): NumberWithUnit |
303
|
|
|
{ |
304
|
|
|
return new NumberWithUnit($number, "area-acre", $this); |
305
|
|
|
} |
306
|
|
|
|
307
|
|
|
/** |
308
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
309
|
|
|
*/ |
310
|
|
|
public function area_square_yard(float|int|string $number): NumberWithUnit |
311
|
|
|
{ |
312
|
|
|
return new NumberWithUnit($number, "area-square-yard", $this); |
313
|
|
|
} |
314
|
|
|
|
315
|
|
|
/** |
316
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
317
|
|
|
*/ |
318
|
|
|
public function area_square_foot(float|int|string $number): NumberWithUnit |
319
|
|
|
{ |
320
|
|
|
return new NumberWithUnit($number, "area-square-foot", $this); |
321
|
|
|
} |
322
|
|
|
|
323
|
|
|
/** |
324
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
325
|
|
|
*/ |
326
|
|
|
public function area_square_inch(float|int|string $number): NumberWithUnit |
327
|
|
|
{ |
328
|
|
|
return new NumberWithUnit($number, "area-square-inch", $this); |
329
|
|
|
} |
330
|
|
|
|
331
|
|
|
/** |
332
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
333
|
|
|
*/ |
334
|
|
|
public function area_dunam(float|int|string $number): NumberWithUnit |
335
|
|
|
{ |
336
|
|
|
return new NumberWithUnit($number, "area-dunam", $this); |
337
|
|
|
} |
338
|
|
|
|
339
|
|
|
/** |
340
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
341
|
|
|
*/ |
342
|
|
|
public function concentr_karat(float|int|string $number): NumberWithUnit |
343
|
|
|
{ |
344
|
|
|
return new NumberWithUnit($number, "concentr-karat", $this); |
345
|
|
|
} |
346
|
|
|
|
347
|
|
|
/** |
348
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
349
|
|
|
*/ |
350
|
|
|
public function concentr_milligram_ofglucose_per_deciliter(float|int|string $number): NumberWithUnit |
351
|
|
|
{ |
352
|
|
|
return new NumberWithUnit($number, "concentr-milligram-ofglucose-per-deciliter", $this); |
353
|
|
|
} |
354
|
|
|
|
355
|
|
|
/** |
356
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
357
|
|
|
*/ |
358
|
|
|
public function concentr_millimole_per_liter(float|int|string $number): NumberWithUnit |
359
|
|
|
{ |
360
|
|
|
return new NumberWithUnit($number, "concentr-millimole-per-liter", $this); |
361
|
|
|
} |
362
|
|
|
|
363
|
|
|
/** |
364
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
365
|
|
|
*/ |
366
|
|
|
public function concentr_item(float|int|string $number): NumberWithUnit |
367
|
|
|
{ |
368
|
|
|
return new NumberWithUnit($number, "concentr-item", $this); |
369
|
|
|
} |
370
|
|
|
|
371
|
|
|
/** |
372
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
373
|
|
|
*/ |
374
|
|
|
public function concentr_permillion(float|int|string $number): NumberWithUnit |
375
|
|
|
{ |
376
|
|
|
return new NumberWithUnit($number, "concentr-permillion", $this); |
377
|
|
|
} |
378
|
|
|
|
379
|
|
|
/** |
380
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
381
|
|
|
*/ |
382
|
|
|
public function concentr_percent(float|int|string $number): NumberWithUnit |
383
|
|
|
{ |
384
|
|
|
return new NumberWithUnit($number, "concentr-percent", $this); |
385
|
|
|
} |
386
|
|
|
|
387
|
|
|
/** |
388
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
389
|
|
|
*/ |
390
|
|
|
public function concentr_permille(float|int|string $number): NumberWithUnit |
391
|
|
|
{ |
392
|
|
|
return new NumberWithUnit($number, "concentr-permille", $this); |
393
|
|
|
} |
394
|
|
|
|
395
|
|
|
/** |
396
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
397
|
|
|
*/ |
398
|
|
|
public function concentr_permyriad(float|int|string $number): NumberWithUnit |
399
|
|
|
{ |
400
|
|
|
return new NumberWithUnit($number, "concentr-permyriad", $this); |
401
|
|
|
} |
402
|
|
|
|
403
|
|
|
/** |
404
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
405
|
|
|
*/ |
406
|
|
|
public function concentr_mole(float|int|string $number): NumberWithUnit |
407
|
|
|
{ |
408
|
|
|
return new NumberWithUnit($number, "concentr-mole", $this); |
409
|
|
|
} |
410
|
|
|
|
411
|
|
|
/** |
412
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
413
|
|
|
*/ |
414
|
|
|
public function consumption_liter_per_kilometer(float|int|string $number): NumberWithUnit |
415
|
|
|
{ |
416
|
|
|
return new NumberWithUnit($number, "consumption-liter-per-kilometer", $this); |
417
|
|
|
} |
418
|
|
|
|
419
|
|
|
/** |
420
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
421
|
|
|
*/ |
422
|
|
|
public function consumption_liter_per_100_kilometer(float|int|string $number): NumberWithUnit |
423
|
|
|
{ |
424
|
|
|
return new NumberWithUnit($number, "consumption-liter-per-100-kilometer", $this); |
425
|
|
|
} |
426
|
|
|
|
427
|
|
|
/** |
428
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
429
|
|
|
*/ |
430
|
|
|
public function consumption_mile_per_gallon(float|int|string $number): NumberWithUnit |
431
|
|
|
{ |
432
|
|
|
return new NumberWithUnit($number, "consumption-mile-per-gallon", $this); |
433
|
|
|
} |
434
|
|
|
|
435
|
|
|
/** |
436
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
437
|
|
|
*/ |
438
|
|
|
public function consumption_mile_per_gallon_imperial(float|int|string $number): NumberWithUnit |
439
|
|
|
{ |
440
|
|
|
return new NumberWithUnit($number, "consumption-mile-per-gallon-imperial", $this); |
441
|
|
|
} |
442
|
|
|
|
443
|
|
|
/** |
444
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
445
|
|
|
*/ |
446
|
|
|
public function digital_petabyte(float|int|string $number): NumberWithUnit |
447
|
|
|
{ |
448
|
|
|
return new NumberWithUnit($number, "digital-petabyte", $this); |
449
|
|
|
} |
450
|
|
|
|
451
|
|
|
/** |
452
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
453
|
|
|
*/ |
454
|
|
|
public function digital_terabyte(float|int|string $number): NumberWithUnit |
455
|
|
|
{ |
456
|
|
|
return new NumberWithUnit($number, "digital-terabyte", $this); |
457
|
|
|
} |
458
|
|
|
|
459
|
|
|
/** |
460
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
461
|
|
|
*/ |
462
|
|
|
public function digital_terabit(float|int|string $number): NumberWithUnit |
463
|
|
|
{ |
464
|
|
|
return new NumberWithUnit($number, "digital-terabit", $this); |
465
|
|
|
} |
466
|
|
|
|
467
|
|
|
/** |
468
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
469
|
|
|
*/ |
470
|
|
|
public function digital_gigabyte(float|int|string $number): NumberWithUnit |
471
|
|
|
{ |
472
|
|
|
return new NumberWithUnit($number, "digital-gigabyte", $this); |
473
|
|
|
} |
474
|
|
|
|
475
|
|
|
/** |
476
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
477
|
|
|
*/ |
478
|
|
|
public function digital_gigabit(float|int|string $number): NumberWithUnit |
479
|
|
|
{ |
480
|
|
|
return new NumberWithUnit($number, "digital-gigabit", $this); |
481
|
|
|
} |
482
|
|
|
|
483
|
|
|
/** |
484
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
485
|
|
|
*/ |
486
|
|
|
public function digital_megabyte(float|int|string $number): NumberWithUnit |
487
|
|
|
{ |
488
|
|
|
return new NumberWithUnit($number, "digital-megabyte", $this); |
489
|
|
|
} |
490
|
|
|
|
491
|
|
|
/** |
492
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
493
|
|
|
*/ |
494
|
|
|
public function digital_megabit(float|int|string $number): NumberWithUnit |
495
|
|
|
{ |
496
|
|
|
return new NumberWithUnit($number, "digital-megabit", $this); |
497
|
|
|
} |
498
|
|
|
|
499
|
|
|
/** |
500
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
501
|
|
|
*/ |
502
|
|
|
public function digital_kilobyte(float|int|string $number): NumberWithUnit |
503
|
|
|
{ |
504
|
|
|
return new NumberWithUnit($number, "digital-kilobyte", $this); |
505
|
|
|
} |
506
|
|
|
|
507
|
|
|
/** |
508
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
509
|
|
|
*/ |
510
|
|
|
public function digital_kilobit(float|int|string $number): NumberWithUnit |
511
|
|
|
{ |
512
|
|
|
return new NumberWithUnit($number, "digital-kilobit", $this); |
513
|
|
|
} |
514
|
|
|
|
515
|
|
|
/** |
516
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
517
|
|
|
*/ |
518
|
|
|
public function digital_byte(float|int|string $number): NumberWithUnit |
519
|
|
|
{ |
520
|
|
|
return new NumberWithUnit($number, "digital-byte", $this); |
521
|
|
|
} |
522
|
|
|
|
523
|
|
|
/** |
524
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
525
|
|
|
*/ |
526
|
|
|
public function digital_bit(float|int|string $number): NumberWithUnit |
527
|
|
|
{ |
528
|
|
|
return new NumberWithUnit($number, "digital-bit", $this); |
529
|
|
|
} |
530
|
|
|
|
531
|
|
|
/** |
532
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
533
|
|
|
*/ |
534
|
|
|
public function duration_century(float|int|string $number): NumberWithUnit |
535
|
|
|
{ |
536
|
|
|
return new NumberWithUnit($number, "duration-century", $this); |
537
|
|
|
} |
538
|
|
|
|
539
|
|
|
/** |
540
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
541
|
|
|
*/ |
542
|
|
|
public function duration_decade(float|int|string $number): NumberWithUnit |
543
|
|
|
{ |
544
|
|
|
return new NumberWithUnit($number, "duration-decade", $this); |
545
|
|
|
} |
546
|
|
|
|
547
|
|
|
/** |
548
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
549
|
|
|
*/ |
550
|
|
|
public function duration_year(float|int|string $number): NumberWithUnit |
551
|
|
|
{ |
552
|
|
|
return new NumberWithUnit($number, "duration-year", $this); |
553
|
|
|
} |
554
|
|
|
|
555
|
|
|
/** |
556
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
557
|
|
|
*/ |
558
|
|
|
public function duration_quarter(float|int|string $number): NumberWithUnit |
559
|
|
|
{ |
560
|
|
|
return new NumberWithUnit($number, "duration-quarter", $this); |
561
|
|
|
} |
562
|
|
|
|
563
|
|
|
/** |
564
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
565
|
|
|
*/ |
566
|
|
|
public function duration_month(float|int|string $number): NumberWithUnit |
567
|
|
|
{ |
568
|
|
|
return new NumberWithUnit($number, "duration-month", $this); |
569
|
|
|
} |
570
|
|
|
|
571
|
|
|
/** |
572
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
573
|
|
|
*/ |
574
|
|
|
public function duration_week(float|int|string $number): NumberWithUnit |
575
|
|
|
{ |
576
|
|
|
return new NumberWithUnit($number, "duration-week", $this); |
577
|
|
|
} |
578
|
|
|
|
579
|
|
|
/** |
580
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
581
|
|
|
*/ |
582
|
|
|
public function duration_day(float|int|string $number): NumberWithUnit |
583
|
|
|
{ |
584
|
|
|
return new NumberWithUnit($number, "duration-day", $this); |
585
|
|
|
} |
586
|
|
|
|
587
|
|
|
/** |
588
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
589
|
|
|
*/ |
590
|
|
|
public function duration_hour(float|int|string $number): NumberWithUnit |
591
|
|
|
{ |
592
|
|
|
return new NumberWithUnit($number, "duration-hour", $this); |
593
|
|
|
} |
594
|
|
|
|
595
|
|
|
/** |
596
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
597
|
|
|
*/ |
598
|
|
|
public function duration_minute(float|int|string $number): NumberWithUnit |
599
|
|
|
{ |
600
|
|
|
return new NumberWithUnit($number, "duration-minute", $this); |
601
|
|
|
} |
602
|
|
|
|
603
|
|
|
/** |
604
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
605
|
|
|
*/ |
606
|
|
|
public function duration_second(float|int|string $number): NumberWithUnit |
607
|
|
|
{ |
608
|
|
|
return new NumberWithUnit($number, "duration-second", $this); |
609
|
|
|
} |
610
|
|
|
|
611
|
|
|
/** |
612
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
613
|
|
|
*/ |
614
|
|
|
public function duration_millisecond(float|int|string $number): NumberWithUnit |
615
|
|
|
{ |
616
|
|
|
return new NumberWithUnit($number, "duration-millisecond", $this); |
617
|
|
|
} |
618
|
|
|
|
619
|
|
|
/** |
620
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
621
|
|
|
*/ |
622
|
|
|
public function duration_microsecond(float|int|string $number): NumberWithUnit |
623
|
|
|
{ |
624
|
|
|
return new NumberWithUnit($number, "duration-microsecond", $this); |
625
|
|
|
} |
626
|
|
|
|
627
|
|
|
/** |
628
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
629
|
|
|
*/ |
630
|
|
|
public function duration_nanosecond(float|int|string $number): NumberWithUnit |
631
|
|
|
{ |
632
|
|
|
return new NumberWithUnit($number, "duration-nanosecond", $this); |
633
|
|
|
} |
634
|
|
|
|
635
|
|
|
/** |
636
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
637
|
|
|
*/ |
638
|
|
|
public function electric_ampere(float|int|string $number): NumberWithUnit |
639
|
|
|
{ |
640
|
|
|
return new NumberWithUnit($number, "electric-ampere", $this); |
641
|
|
|
} |
642
|
|
|
|
643
|
|
|
/** |
644
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
645
|
|
|
*/ |
646
|
|
|
public function electric_milliampere(float|int|string $number): NumberWithUnit |
647
|
|
|
{ |
648
|
|
|
return new NumberWithUnit($number, "electric-milliampere", $this); |
649
|
|
|
} |
650
|
|
|
|
651
|
|
|
/** |
652
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
653
|
|
|
*/ |
654
|
|
|
public function electric_ohm(float|int|string $number): NumberWithUnit |
655
|
|
|
{ |
656
|
|
|
return new NumberWithUnit($number, "electric-ohm", $this); |
657
|
|
|
} |
658
|
|
|
|
659
|
|
|
/** |
660
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
661
|
|
|
*/ |
662
|
|
|
public function electric_volt(float|int|string $number): NumberWithUnit |
663
|
|
|
{ |
664
|
|
|
return new NumberWithUnit($number, "electric-volt", $this); |
665
|
|
|
} |
666
|
|
|
|
667
|
|
|
/** |
668
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
669
|
|
|
*/ |
670
|
|
|
public function energy_kilocalorie(float|int|string $number): NumberWithUnit |
671
|
|
|
{ |
672
|
|
|
return new NumberWithUnit($number, "energy-kilocalorie", $this); |
673
|
|
|
} |
674
|
|
|
|
675
|
|
|
/** |
676
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
677
|
|
|
*/ |
678
|
|
|
public function energy_calorie(float|int|string $number): NumberWithUnit |
679
|
|
|
{ |
680
|
|
|
return new NumberWithUnit($number, "energy-calorie", $this); |
681
|
|
|
} |
682
|
|
|
|
683
|
|
|
/** |
684
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
685
|
|
|
*/ |
686
|
|
|
public function energy_foodcalorie(float|int|string $number): NumberWithUnit |
687
|
|
|
{ |
688
|
|
|
return new NumberWithUnit($number, "energy-foodcalorie", $this); |
689
|
|
|
} |
690
|
|
|
|
691
|
|
|
/** |
692
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
693
|
|
|
*/ |
694
|
|
|
public function energy_kilojoule(float|int|string $number): NumberWithUnit |
695
|
|
|
{ |
696
|
|
|
return new NumberWithUnit($number, "energy-kilojoule", $this); |
697
|
|
|
} |
698
|
|
|
|
699
|
|
|
/** |
700
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
701
|
|
|
*/ |
702
|
|
|
public function energy_joule(float|int|string $number): NumberWithUnit |
703
|
|
|
{ |
704
|
|
|
return new NumberWithUnit($number, "energy-joule", $this); |
705
|
|
|
} |
706
|
|
|
|
707
|
|
|
/** |
708
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
709
|
|
|
*/ |
710
|
|
|
public function energy_kilowatt_hour(float|int|string $number): NumberWithUnit |
711
|
|
|
{ |
712
|
|
|
return new NumberWithUnit($number, "energy-kilowatt-hour", $this); |
713
|
|
|
} |
714
|
|
|
|
715
|
|
|
/** |
716
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
717
|
|
|
*/ |
718
|
|
|
public function energy_electronvolt(float|int|string $number): NumberWithUnit |
719
|
|
|
{ |
720
|
|
|
return new NumberWithUnit($number, "energy-electronvolt", $this); |
721
|
|
|
} |
722
|
|
|
|
723
|
|
|
/** |
724
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
725
|
|
|
*/ |
726
|
|
|
public function energy_british_thermal_unit(float|int|string $number): NumberWithUnit |
727
|
|
|
{ |
728
|
|
|
return new NumberWithUnit($number, "energy-british-thermal-unit", $this); |
729
|
|
|
} |
730
|
|
|
|
731
|
|
|
/** |
732
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
733
|
|
|
*/ |
734
|
|
|
public function energy_therm_us(float|int|string $number): NumberWithUnit |
735
|
|
|
{ |
736
|
|
|
return new NumberWithUnit($number, "energy-therm-us", $this); |
737
|
|
|
} |
738
|
|
|
|
739
|
|
|
/** |
740
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
741
|
|
|
*/ |
742
|
|
|
public function force_pound_force(float|int|string $number): NumberWithUnit |
743
|
|
|
{ |
744
|
|
|
return new NumberWithUnit($number, "force-pound-force", $this); |
745
|
|
|
} |
746
|
|
|
|
747
|
|
|
/** |
748
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
749
|
|
|
*/ |
750
|
|
|
public function force_newton(float|int|string $number): NumberWithUnit |
751
|
|
|
{ |
752
|
|
|
return new NumberWithUnit($number, "force-newton", $this); |
753
|
|
|
} |
754
|
|
|
|
755
|
|
|
/** |
756
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
757
|
|
|
*/ |
758
|
|
|
public function force_kilowatt_hour_per_100_kilometer(float|int|string $number): NumberWithUnit |
759
|
|
|
{ |
760
|
|
|
return new NumberWithUnit($number, "force-kilowatt-hour-per-100-kilometer", $this); |
761
|
|
|
} |
762
|
|
|
|
763
|
|
|
/** |
764
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
765
|
|
|
*/ |
766
|
|
|
public function frequency_gigahertz(float|int|string $number): NumberWithUnit |
767
|
|
|
{ |
768
|
|
|
return new NumberWithUnit($number, "frequency-gigahertz", $this); |
769
|
|
|
} |
770
|
|
|
|
771
|
|
|
/** |
772
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
773
|
|
|
*/ |
774
|
|
|
public function frequency_megahertz(float|int|string $number): NumberWithUnit |
775
|
|
|
{ |
776
|
|
|
return new NumberWithUnit($number, "frequency-megahertz", $this); |
777
|
|
|
} |
778
|
|
|
|
779
|
|
|
/** |
780
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
781
|
|
|
*/ |
782
|
|
|
public function frequency_kilohertz(float|int|string $number): NumberWithUnit |
783
|
|
|
{ |
784
|
|
|
return new NumberWithUnit($number, "frequency-kilohertz", $this); |
785
|
|
|
} |
786
|
|
|
|
787
|
|
|
/** |
788
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
789
|
|
|
*/ |
790
|
|
|
public function frequency_hertz(float|int|string $number): NumberWithUnit |
791
|
|
|
{ |
792
|
|
|
return new NumberWithUnit($number, "frequency-hertz", $this); |
793
|
|
|
} |
794
|
|
|
|
795
|
|
|
/** |
796
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
797
|
|
|
*/ |
798
|
|
|
public function graphics_em(float|int|string $number): NumberWithUnit |
799
|
|
|
{ |
800
|
|
|
return new NumberWithUnit($number, "graphics-em", $this); |
801
|
|
|
} |
802
|
|
|
|
803
|
|
|
/** |
804
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
805
|
|
|
*/ |
806
|
|
|
public function graphics_pixel(float|int|string $number): NumberWithUnit |
807
|
|
|
{ |
808
|
|
|
return new NumberWithUnit($number, "graphics-pixel", $this); |
809
|
|
|
} |
810
|
|
|
|
811
|
|
|
/** |
812
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
813
|
|
|
*/ |
814
|
|
|
public function graphics_megapixel(float|int|string $number): NumberWithUnit |
815
|
|
|
{ |
816
|
|
|
return new NumberWithUnit($number, "graphics-megapixel", $this); |
817
|
|
|
} |
818
|
|
|
|
819
|
|
|
/** |
820
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
821
|
|
|
*/ |
822
|
|
|
public function graphics_pixel_per_centimeter(float|int|string $number): NumberWithUnit |
823
|
|
|
{ |
824
|
|
|
return new NumberWithUnit($number, "graphics-pixel-per-centimeter", $this); |
825
|
|
|
} |
826
|
|
|
|
827
|
|
|
/** |
828
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
829
|
|
|
*/ |
830
|
|
|
public function graphics_pixel_per_inch(float|int|string $number): NumberWithUnit |
831
|
|
|
{ |
832
|
|
|
return new NumberWithUnit($number, "graphics-pixel-per-inch", $this); |
833
|
|
|
} |
834
|
|
|
|
835
|
|
|
/** |
836
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
837
|
|
|
*/ |
838
|
|
|
public function graphics_dot_per_centimeter(float|int|string $number): NumberWithUnit |
839
|
|
|
{ |
840
|
|
|
return new NumberWithUnit($number, "graphics-dot-per-centimeter", $this); |
841
|
|
|
} |
842
|
|
|
|
843
|
|
|
/** |
844
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
845
|
|
|
*/ |
846
|
|
|
public function graphics_dot_per_inch(float|int|string $number): NumberWithUnit |
847
|
|
|
{ |
848
|
|
|
return new NumberWithUnit($number, "graphics-dot-per-inch", $this); |
849
|
|
|
} |
850
|
|
|
|
851
|
|
|
/** |
852
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
853
|
|
|
*/ |
854
|
|
|
public function graphics_dot(float|int|string $number): NumberWithUnit |
855
|
|
|
{ |
856
|
|
|
return new NumberWithUnit($number, "graphics-dot", $this); |
857
|
|
|
} |
858
|
|
|
|
859
|
|
|
/** |
860
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
861
|
|
|
*/ |
862
|
|
|
public function length_earth_radius(float|int|string $number): NumberWithUnit |
863
|
|
|
{ |
864
|
|
|
return new NumberWithUnit($number, "length-earth-radius", $this); |
865
|
|
|
} |
866
|
|
|
|
867
|
|
|
/** |
868
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
869
|
|
|
*/ |
870
|
|
|
public function length_kilometer(float|int|string $number): NumberWithUnit |
871
|
|
|
{ |
872
|
|
|
return new NumberWithUnit($number, "length-kilometer", $this); |
873
|
|
|
} |
874
|
|
|
|
875
|
|
|
/** |
876
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
877
|
|
|
*/ |
878
|
|
|
public function length_meter(float|int|string $number): NumberWithUnit |
879
|
|
|
{ |
880
|
|
|
return new NumberWithUnit($number, "length-meter", $this); |
881
|
|
|
} |
882
|
|
|
|
883
|
|
|
/** |
884
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
885
|
|
|
*/ |
886
|
|
|
public function length_decimeter(float|int|string $number): NumberWithUnit |
887
|
|
|
{ |
888
|
|
|
return new NumberWithUnit($number, "length-decimeter", $this); |
889
|
|
|
} |
890
|
|
|
|
891
|
|
|
/** |
892
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
893
|
|
|
*/ |
894
|
|
|
public function length_centimeter(float|int|string $number): NumberWithUnit |
895
|
|
|
{ |
896
|
|
|
return new NumberWithUnit($number, "length-centimeter", $this); |
897
|
|
|
} |
898
|
|
|
|
899
|
|
|
/** |
900
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
901
|
|
|
*/ |
902
|
|
|
public function length_millimeter(float|int|string $number): NumberWithUnit |
903
|
|
|
{ |
904
|
|
|
return new NumberWithUnit($number, "length-millimeter", $this); |
905
|
|
|
} |
906
|
|
|
|
907
|
|
|
/** |
908
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
909
|
|
|
*/ |
910
|
|
|
public function length_micrometer(float|int|string $number): NumberWithUnit |
911
|
|
|
{ |
912
|
|
|
return new NumberWithUnit($number, "length-micrometer", $this); |
913
|
|
|
} |
914
|
|
|
|
915
|
|
|
/** |
916
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
917
|
|
|
*/ |
918
|
|
|
public function length_nanometer(float|int|string $number): NumberWithUnit |
919
|
|
|
{ |
920
|
|
|
return new NumberWithUnit($number, "length-nanometer", $this); |
921
|
|
|
} |
922
|
|
|
|
923
|
|
|
/** |
924
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
925
|
|
|
*/ |
926
|
|
|
public function length_picometer(float|int|string $number): NumberWithUnit |
927
|
|
|
{ |
928
|
|
|
return new NumberWithUnit($number, "length-picometer", $this); |
929
|
|
|
} |
930
|
|
|
|
931
|
|
|
/** |
932
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
933
|
|
|
*/ |
934
|
|
|
public function length_mile(float|int|string $number): NumberWithUnit |
935
|
|
|
{ |
936
|
|
|
return new NumberWithUnit($number, "length-mile", $this); |
937
|
|
|
} |
938
|
|
|
|
939
|
|
|
/** |
940
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
941
|
|
|
*/ |
942
|
|
|
public function length_yard(float|int|string $number): NumberWithUnit |
943
|
|
|
{ |
944
|
|
|
return new NumberWithUnit($number, "length-yard", $this); |
945
|
|
|
} |
946
|
|
|
|
947
|
|
|
/** |
948
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
949
|
|
|
*/ |
950
|
|
|
public function length_foot(float|int|string $number): NumberWithUnit |
951
|
|
|
{ |
952
|
|
|
return new NumberWithUnit($number, "length-foot", $this); |
953
|
|
|
} |
954
|
|
|
|
955
|
|
|
/** |
956
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
957
|
|
|
*/ |
958
|
|
|
public function length_inch(float|int|string $number): NumberWithUnit |
959
|
|
|
{ |
960
|
|
|
return new NumberWithUnit($number, "length-inch", $this); |
961
|
|
|
} |
962
|
|
|
|
963
|
|
|
/** |
964
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
965
|
|
|
*/ |
966
|
|
|
public function length_parsec(float|int|string $number): NumberWithUnit |
967
|
|
|
{ |
968
|
|
|
return new NumberWithUnit($number, "length-parsec", $this); |
969
|
|
|
} |
970
|
|
|
|
971
|
|
|
/** |
972
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
973
|
|
|
*/ |
974
|
|
|
public function length_light_year(float|int|string $number): NumberWithUnit |
975
|
|
|
{ |
976
|
|
|
return new NumberWithUnit($number, "length-light-year", $this); |
977
|
|
|
} |
978
|
|
|
|
979
|
|
|
/** |
980
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
981
|
|
|
*/ |
982
|
|
|
public function length_astronomical_unit(float|int|string $number): NumberWithUnit |
983
|
|
|
{ |
984
|
|
|
return new NumberWithUnit($number, "length-astronomical-unit", $this); |
985
|
|
|
} |
986
|
|
|
|
987
|
|
|
/** |
988
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
989
|
|
|
*/ |
990
|
|
|
public function length_furlong(float|int|string $number): NumberWithUnit |
991
|
|
|
{ |
992
|
|
|
return new NumberWithUnit($number, "length-furlong", $this); |
993
|
|
|
} |
994
|
|
|
|
995
|
|
|
/** |
996
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
997
|
|
|
*/ |
998
|
|
|
public function length_fathom(float|int|string $number): NumberWithUnit |
999
|
|
|
{ |
1000
|
|
|
return new NumberWithUnit($number, "length-fathom", $this); |
1001
|
|
|
} |
1002
|
|
|
|
1003
|
|
|
/** |
1004
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1005
|
|
|
*/ |
1006
|
|
|
public function length_nautical_mile(float|int|string $number): NumberWithUnit |
1007
|
|
|
{ |
1008
|
|
|
return new NumberWithUnit($number, "length-nautical-mile", $this); |
1009
|
|
|
} |
1010
|
|
|
|
1011
|
|
|
/** |
1012
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1013
|
|
|
*/ |
1014
|
|
|
public function length_mile_scandinavian(float|int|string $number): NumberWithUnit |
1015
|
|
|
{ |
1016
|
|
|
return new NumberWithUnit($number, "length-mile-scandinavian", $this); |
1017
|
|
|
} |
1018
|
|
|
|
1019
|
|
|
/** |
1020
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1021
|
|
|
*/ |
1022
|
|
|
public function length_point(float|int|string $number): NumberWithUnit |
1023
|
|
|
{ |
1024
|
|
|
return new NumberWithUnit($number, "length-point", $this); |
1025
|
|
|
} |
1026
|
|
|
|
1027
|
|
|
/** |
1028
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1029
|
|
|
*/ |
1030
|
|
|
public function length_solar_radius(float|int|string $number): NumberWithUnit |
1031
|
|
|
{ |
1032
|
|
|
return new NumberWithUnit($number, "length-solar-radius", $this); |
1033
|
|
|
} |
1034
|
|
|
|
1035
|
|
|
/** |
1036
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1037
|
|
|
*/ |
1038
|
|
|
public function light_lux(float|int|string $number): NumberWithUnit |
1039
|
|
|
{ |
1040
|
|
|
return new NumberWithUnit($number, "light-lux", $this); |
1041
|
|
|
} |
1042
|
|
|
|
1043
|
|
|
/** |
1044
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1045
|
|
|
*/ |
1046
|
|
|
public function light_candela(float|int|string $number): NumberWithUnit |
1047
|
|
|
{ |
1048
|
|
|
return new NumberWithUnit($number, "light-candela", $this); |
1049
|
|
|
} |
1050
|
|
|
|
1051
|
|
|
/** |
1052
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1053
|
|
|
*/ |
1054
|
|
|
public function light_lumen(float|int|string $number): NumberWithUnit |
1055
|
|
|
{ |
1056
|
|
|
return new NumberWithUnit($number, "light-lumen", $this); |
1057
|
|
|
} |
1058
|
|
|
|
1059
|
|
|
/** |
1060
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1061
|
|
|
*/ |
1062
|
|
|
public function light_solar_luminosity(float|int|string $number): NumberWithUnit |
1063
|
|
|
{ |
1064
|
|
|
return new NumberWithUnit($number, "light-solar-luminosity", $this); |
1065
|
|
|
} |
1066
|
|
|
|
1067
|
|
|
/** |
1068
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1069
|
|
|
*/ |
1070
|
|
|
public function mass_tonne(float|int|string $number): NumberWithUnit |
1071
|
|
|
{ |
1072
|
|
|
return new NumberWithUnit($number, "mass-tonne", $this); |
1073
|
|
|
} |
1074
|
|
|
|
1075
|
|
|
/** |
1076
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1077
|
|
|
*/ |
1078
|
|
|
public function mass_kilogram(float|int|string $number): NumberWithUnit |
1079
|
|
|
{ |
1080
|
|
|
return new NumberWithUnit($number, "mass-kilogram", $this); |
1081
|
|
|
} |
1082
|
|
|
|
1083
|
|
|
/** |
1084
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1085
|
|
|
*/ |
1086
|
|
|
public function mass_gram(float|int|string $number): NumberWithUnit |
1087
|
|
|
{ |
1088
|
|
|
return new NumberWithUnit($number, "mass-gram", $this); |
1089
|
|
|
} |
1090
|
|
|
|
1091
|
|
|
/** |
1092
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1093
|
|
|
*/ |
1094
|
|
|
public function mass_milligram(float|int|string $number): NumberWithUnit |
1095
|
|
|
{ |
1096
|
|
|
return new NumberWithUnit($number, "mass-milligram", $this); |
1097
|
|
|
} |
1098
|
|
|
|
1099
|
|
|
/** |
1100
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1101
|
|
|
*/ |
1102
|
|
|
public function mass_microgram(float|int|string $number): NumberWithUnit |
1103
|
|
|
{ |
1104
|
|
|
return new NumberWithUnit($number, "mass-microgram", $this); |
1105
|
|
|
} |
1106
|
|
|
|
1107
|
|
|
/** |
1108
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1109
|
|
|
*/ |
1110
|
|
|
public function mass_ton(float|int|string $number): NumberWithUnit |
1111
|
|
|
{ |
1112
|
|
|
return new NumberWithUnit($number, "mass-ton", $this); |
1113
|
|
|
} |
1114
|
|
|
|
1115
|
|
|
/** |
1116
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1117
|
|
|
*/ |
1118
|
|
|
public function mass_stone(float|int|string $number): NumberWithUnit |
1119
|
|
|
{ |
1120
|
|
|
return new NumberWithUnit($number, "mass-stone", $this); |
1121
|
|
|
} |
1122
|
|
|
|
1123
|
|
|
/** |
1124
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1125
|
|
|
*/ |
1126
|
|
|
public function mass_pound(float|int|string $number): NumberWithUnit |
1127
|
|
|
{ |
1128
|
|
|
return new NumberWithUnit($number, "mass-pound", $this); |
1129
|
|
|
} |
1130
|
|
|
|
1131
|
|
|
/** |
1132
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1133
|
|
|
*/ |
1134
|
|
|
public function mass_ounce(float|int|string $number): NumberWithUnit |
1135
|
|
|
{ |
1136
|
|
|
return new NumberWithUnit($number, "mass-ounce", $this); |
1137
|
|
|
} |
1138
|
|
|
|
1139
|
|
|
/** |
1140
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1141
|
|
|
*/ |
1142
|
|
|
public function mass_ounce_troy(float|int|string $number): NumberWithUnit |
1143
|
|
|
{ |
1144
|
|
|
return new NumberWithUnit($number, "mass-ounce-troy", $this); |
1145
|
|
|
} |
1146
|
|
|
|
1147
|
|
|
/** |
1148
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1149
|
|
|
*/ |
1150
|
|
|
public function mass_carat(float|int|string $number): NumberWithUnit |
1151
|
|
|
{ |
1152
|
|
|
return new NumberWithUnit($number, "mass-carat", $this); |
1153
|
|
|
} |
1154
|
|
|
|
1155
|
|
|
/** |
1156
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1157
|
|
|
*/ |
1158
|
|
|
public function mass_dalton(float|int|string $number): NumberWithUnit |
1159
|
|
|
{ |
1160
|
|
|
return new NumberWithUnit($number, "mass-dalton", $this); |
1161
|
|
|
} |
1162
|
|
|
|
1163
|
|
|
/** |
1164
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1165
|
|
|
*/ |
1166
|
|
|
public function mass_earth_mass(float|int|string $number): NumberWithUnit |
1167
|
|
|
{ |
1168
|
|
|
return new NumberWithUnit($number, "mass-earth-mass", $this); |
1169
|
|
|
} |
1170
|
|
|
|
1171
|
|
|
/** |
1172
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1173
|
|
|
*/ |
1174
|
|
|
public function mass_solar_mass(float|int|string $number): NumberWithUnit |
1175
|
|
|
{ |
1176
|
|
|
return new NumberWithUnit($number, "mass-solar-mass", $this); |
1177
|
|
|
} |
1178
|
|
|
|
1179
|
|
|
/** |
1180
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1181
|
|
|
*/ |
1182
|
|
|
public function mass_grain(float|int|string $number): NumberWithUnit |
1183
|
|
|
{ |
1184
|
|
|
return new NumberWithUnit($number, "mass-grain", $this); |
1185
|
|
|
} |
1186
|
|
|
|
1187
|
|
|
/** |
1188
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1189
|
|
|
*/ |
1190
|
|
|
public function power_gigawatt(float|int|string $number): NumberWithUnit |
1191
|
|
|
{ |
1192
|
|
|
return new NumberWithUnit($number, "power-gigawatt", $this); |
1193
|
|
|
} |
1194
|
|
|
|
1195
|
|
|
/** |
1196
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1197
|
|
|
*/ |
1198
|
|
|
public function power_megawatt(float|int|string $number): NumberWithUnit |
1199
|
|
|
{ |
1200
|
|
|
return new NumberWithUnit($number, "power-megawatt", $this); |
1201
|
|
|
} |
1202
|
|
|
|
1203
|
|
|
/** |
1204
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1205
|
|
|
*/ |
1206
|
|
|
public function power_kilowatt(float|int|string $number): NumberWithUnit |
1207
|
|
|
{ |
1208
|
|
|
return new NumberWithUnit($number, "power-kilowatt", $this); |
1209
|
|
|
} |
1210
|
|
|
|
1211
|
|
|
/** |
1212
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1213
|
|
|
*/ |
1214
|
|
|
public function power_watt(float|int|string $number): NumberWithUnit |
1215
|
|
|
{ |
1216
|
|
|
return new NumberWithUnit($number, "power-watt", $this); |
1217
|
|
|
} |
1218
|
|
|
|
1219
|
|
|
/** |
1220
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1221
|
|
|
*/ |
1222
|
|
|
public function power_milliwatt(float|int|string $number): NumberWithUnit |
1223
|
|
|
{ |
1224
|
|
|
return new NumberWithUnit($number, "power-milliwatt", $this); |
1225
|
|
|
} |
1226
|
|
|
|
1227
|
|
|
/** |
1228
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1229
|
|
|
*/ |
1230
|
|
|
public function power_horsepower(float|int|string $number): NumberWithUnit |
1231
|
|
|
{ |
1232
|
|
|
return new NumberWithUnit($number, "power-horsepower", $this); |
1233
|
|
|
} |
1234
|
|
|
|
1235
|
|
|
/** |
1236
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1237
|
|
|
*/ |
1238
|
|
|
public function pressure_millimeter_ofhg(float|int|string $number): NumberWithUnit |
1239
|
|
|
{ |
1240
|
|
|
return new NumberWithUnit($number, "pressure-millimeter-ofhg", $this); |
1241
|
|
|
} |
1242
|
|
|
|
1243
|
|
|
/** |
1244
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1245
|
|
|
*/ |
1246
|
|
|
public function pressure_pound_force_per_square_inch(float|int|string $number): NumberWithUnit |
1247
|
|
|
{ |
1248
|
|
|
return new NumberWithUnit($number, "pressure-pound-force-per-square-inch", $this); |
1249
|
|
|
} |
1250
|
|
|
|
1251
|
|
|
/** |
1252
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1253
|
|
|
*/ |
1254
|
|
|
public function pressure_inch_ofhg(float|int|string $number): NumberWithUnit |
1255
|
|
|
{ |
1256
|
|
|
return new NumberWithUnit($number, "pressure-inch-ofhg", $this); |
1257
|
|
|
} |
1258
|
|
|
|
1259
|
|
|
/** |
1260
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1261
|
|
|
*/ |
1262
|
|
|
public function pressure_bar(float|int|string $number): NumberWithUnit |
1263
|
|
|
{ |
1264
|
|
|
return new NumberWithUnit($number, "pressure-bar", $this); |
1265
|
|
|
} |
1266
|
|
|
|
1267
|
|
|
/** |
1268
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1269
|
|
|
*/ |
1270
|
|
|
public function pressure_millibar(float|int|string $number): NumberWithUnit |
1271
|
|
|
{ |
1272
|
|
|
return new NumberWithUnit($number, "pressure-millibar", $this); |
1273
|
|
|
} |
1274
|
|
|
|
1275
|
|
|
/** |
1276
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1277
|
|
|
*/ |
1278
|
|
|
public function pressure_atmosphere(float|int|string $number): NumberWithUnit |
1279
|
|
|
{ |
1280
|
|
|
return new NumberWithUnit($number, "pressure-atmosphere", $this); |
1281
|
|
|
} |
1282
|
|
|
|
1283
|
|
|
/** |
1284
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1285
|
|
|
*/ |
1286
|
|
|
public function pressure_pascal(float|int|string $number): NumberWithUnit |
1287
|
|
|
{ |
1288
|
|
|
return new NumberWithUnit($number, "pressure-pascal", $this); |
1289
|
|
|
} |
1290
|
|
|
|
1291
|
|
|
/** |
1292
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1293
|
|
|
*/ |
1294
|
|
|
public function pressure_hectopascal(float|int|string $number): NumberWithUnit |
1295
|
|
|
{ |
1296
|
|
|
return new NumberWithUnit($number, "pressure-hectopascal", $this); |
1297
|
|
|
} |
1298
|
|
|
|
1299
|
|
|
/** |
1300
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1301
|
|
|
*/ |
1302
|
|
|
public function pressure_kilopascal(float|int|string $number): NumberWithUnit |
1303
|
|
|
{ |
1304
|
|
|
return new NumberWithUnit($number, "pressure-kilopascal", $this); |
1305
|
|
|
} |
1306
|
|
|
|
1307
|
|
|
/** |
1308
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1309
|
|
|
*/ |
1310
|
|
|
public function pressure_megapascal(float|int|string $number): NumberWithUnit |
1311
|
|
|
{ |
1312
|
|
|
return new NumberWithUnit($number, "pressure-megapascal", $this); |
1313
|
|
|
} |
1314
|
|
|
|
1315
|
|
|
/** |
1316
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1317
|
|
|
*/ |
1318
|
|
|
public function speed_kilometer_per_hour(float|int|string $number): NumberWithUnit |
1319
|
|
|
{ |
1320
|
|
|
return new NumberWithUnit($number, "speed-kilometer-per-hour", $this); |
1321
|
|
|
} |
1322
|
|
|
|
1323
|
|
|
/** |
1324
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1325
|
|
|
*/ |
1326
|
|
|
public function speed_meter_per_second(float|int|string $number): NumberWithUnit |
1327
|
|
|
{ |
1328
|
|
|
return new NumberWithUnit($number, "speed-meter-per-second", $this); |
1329
|
|
|
} |
1330
|
|
|
|
1331
|
|
|
/** |
1332
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1333
|
|
|
*/ |
1334
|
|
|
public function speed_mile_per_hour(float|int|string $number): NumberWithUnit |
1335
|
|
|
{ |
1336
|
|
|
return new NumberWithUnit($number, "speed-mile-per-hour", $this); |
1337
|
|
|
} |
1338
|
|
|
|
1339
|
|
|
/** |
1340
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1341
|
|
|
*/ |
1342
|
|
|
public function speed_knot(float|int|string $number): NumberWithUnit |
1343
|
|
|
{ |
1344
|
|
|
return new NumberWithUnit($number, "speed-knot", $this); |
1345
|
|
|
} |
1346
|
|
|
|
1347
|
|
|
/** |
1348
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1349
|
|
|
*/ |
1350
|
|
|
public function speed_beaufort(float|int|string $number): NumberWithUnit |
1351
|
|
|
{ |
1352
|
|
|
return new NumberWithUnit($number, "speed-beaufort", $this); |
1353
|
|
|
} |
1354
|
|
|
|
1355
|
|
|
/** |
1356
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1357
|
|
|
*/ |
1358
|
|
|
public function temperature_generic(float|int|string $number): NumberWithUnit |
1359
|
|
|
{ |
1360
|
|
|
return new NumberWithUnit($number, "temperature-generic", $this); |
1361
|
|
|
} |
1362
|
|
|
|
1363
|
|
|
/** |
1364
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1365
|
|
|
*/ |
1366
|
|
|
public function temperature_celsius(float|int|string $number): NumberWithUnit |
1367
|
|
|
{ |
1368
|
|
|
return new NumberWithUnit($number, "temperature-celsius", $this); |
1369
|
|
|
} |
1370
|
|
|
|
1371
|
|
|
/** |
1372
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1373
|
|
|
*/ |
1374
|
|
|
public function temperature_fahrenheit(float|int|string $number): NumberWithUnit |
1375
|
|
|
{ |
1376
|
|
|
return new NumberWithUnit($number, "temperature-fahrenheit", $this); |
1377
|
|
|
} |
1378
|
|
|
|
1379
|
|
|
/** |
1380
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1381
|
|
|
*/ |
1382
|
|
|
public function temperature_kelvin(float|int|string $number): NumberWithUnit |
1383
|
|
|
{ |
1384
|
|
|
return new NumberWithUnit($number, "temperature-kelvin", $this); |
1385
|
|
|
} |
1386
|
|
|
|
1387
|
|
|
/** |
1388
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1389
|
|
|
*/ |
1390
|
|
|
public function torque_pound_force_foot(float|int|string $number): NumberWithUnit |
1391
|
|
|
{ |
1392
|
|
|
return new NumberWithUnit($number, "torque-pound-force-foot", $this); |
1393
|
|
|
} |
1394
|
|
|
|
1395
|
|
|
/** |
1396
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1397
|
|
|
*/ |
1398
|
|
|
public function torque_newton_meter(float|int|string $number): NumberWithUnit |
1399
|
|
|
{ |
1400
|
|
|
return new NumberWithUnit($number, "torque-newton-meter", $this); |
1401
|
|
|
} |
1402
|
|
|
|
1403
|
|
|
/** |
1404
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1405
|
|
|
*/ |
1406
|
|
|
public function volume_cubic_kilometer(float|int|string $number): NumberWithUnit |
1407
|
|
|
{ |
1408
|
|
|
return new NumberWithUnit($number, "volume-cubic-kilometer", $this); |
1409
|
|
|
} |
1410
|
|
|
|
1411
|
|
|
/** |
1412
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1413
|
|
|
*/ |
1414
|
|
|
public function volume_cubic_meter(float|int|string $number): NumberWithUnit |
1415
|
|
|
{ |
1416
|
|
|
return new NumberWithUnit($number, "volume-cubic-meter", $this); |
1417
|
|
|
} |
1418
|
|
|
|
1419
|
|
|
/** |
1420
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1421
|
|
|
*/ |
1422
|
|
|
public function volume_cubic_centimeter(float|int|string $number): NumberWithUnit |
1423
|
|
|
{ |
1424
|
|
|
return new NumberWithUnit($number, "volume-cubic-centimeter", $this); |
1425
|
|
|
} |
1426
|
|
|
|
1427
|
|
|
/** |
1428
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1429
|
|
|
*/ |
1430
|
|
|
public function volume_cubic_mile(float|int|string $number): NumberWithUnit |
1431
|
|
|
{ |
1432
|
|
|
return new NumberWithUnit($number, "volume-cubic-mile", $this); |
1433
|
|
|
} |
1434
|
|
|
|
1435
|
|
|
/** |
1436
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1437
|
|
|
*/ |
1438
|
|
|
public function volume_cubic_yard(float|int|string $number): NumberWithUnit |
1439
|
|
|
{ |
1440
|
|
|
return new NumberWithUnit($number, "volume-cubic-yard", $this); |
1441
|
|
|
} |
1442
|
|
|
|
1443
|
|
|
/** |
1444
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1445
|
|
|
*/ |
1446
|
|
|
public function volume_cubic_foot(float|int|string $number): NumberWithUnit |
1447
|
|
|
{ |
1448
|
|
|
return new NumberWithUnit($number, "volume-cubic-foot", $this); |
1449
|
|
|
} |
1450
|
|
|
|
1451
|
|
|
/** |
1452
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1453
|
|
|
*/ |
1454
|
|
|
public function volume_cubic_inch(float|int|string $number): NumberWithUnit |
1455
|
|
|
{ |
1456
|
|
|
return new NumberWithUnit($number, "volume-cubic-inch", $this); |
1457
|
|
|
} |
1458
|
|
|
|
1459
|
|
|
/** |
1460
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1461
|
|
|
*/ |
1462
|
|
|
public function volume_megaliter(float|int|string $number): NumberWithUnit |
1463
|
|
|
{ |
1464
|
|
|
return new NumberWithUnit($number, "volume-megaliter", $this); |
1465
|
|
|
} |
1466
|
|
|
|
1467
|
|
|
/** |
1468
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1469
|
|
|
*/ |
1470
|
|
|
public function volume_hectoliter(float|int|string $number): NumberWithUnit |
1471
|
|
|
{ |
1472
|
|
|
return new NumberWithUnit($number, "volume-hectoliter", $this); |
1473
|
|
|
} |
1474
|
|
|
|
1475
|
|
|
/** |
1476
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1477
|
|
|
*/ |
1478
|
|
|
public function volume_liter(float|int|string $number): NumberWithUnit |
1479
|
|
|
{ |
1480
|
|
|
return new NumberWithUnit($number, "volume-liter", $this); |
1481
|
|
|
} |
1482
|
|
|
|
1483
|
|
|
/** |
1484
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1485
|
|
|
*/ |
1486
|
|
|
public function volume_deciliter(float|int|string $number): NumberWithUnit |
1487
|
|
|
{ |
1488
|
|
|
return new NumberWithUnit($number, "volume-deciliter", $this); |
1489
|
|
|
} |
1490
|
|
|
|
1491
|
|
|
/** |
1492
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1493
|
|
|
*/ |
1494
|
|
|
public function volume_centiliter(float|int|string $number): NumberWithUnit |
1495
|
|
|
{ |
1496
|
|
|
return new NumberWithUnit($number, "volume-centiliter", $this); |
1497
|
|
|
} |
1498
|
|
|
|
1499
|
|
|
/** |
1500
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1501
|
|
|
*/ |
1502
|
|
|
public function volume_milliliter(float|int|string $number): NumberWithUnit |
1503
|
|
|
{ |
1504
|
|
|
return new NumberWithUnit($number, "volume-milliliter", $this); |
1505
|
|
|
} |
1506
|
|
|
|
1507
|
|
|
/** |
1508
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1509
|
|
|
*/ |
1510
|
|
|
public function volume_pint_metric(float|int|string $number): NumberWithUnit |
1511
|
|
|
{ |
1512
|
|
|
return new NumberWithUnit($number, "volume-pint-metric", $this); |
1513
|
|
|
} |
1514
|
|
|
|
1515
|
|
|
/** |
1516
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1517
|
|
|
*/ |
1518
|
|
|
public function volume_cup_metric(float|int|string $number): NumberWithUnit |
1519
|
|
|
{ |
1520
|
|
|
return new NumberWithUnit($number, "volume-cup-metric", $this); |
1521
|
|
|
} |
1522
|
|
|
|
1523
|
|
|
/** |
1524
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1525
|
|
|
*/ |
1526
|
|
|
public function volume_acre_foot(float|int|string $number): NumberWithUnit |
1527
|
|
|
{ |
1528
|
|
|
return new NumberWithUnit($number, "volume-acre-foot", $this); |
1529
|
|
|
} |
1530
|
|
|
|
1531
|
|
|
/** |
1532
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1533
|
|
|
*/ |
1534
|
|
|
public function volume_bushel(float|int|string $number): NumberWithUnit |
1535
|
|
|
{ |
1536
|
|
|
return new NumberWithUnit($number, "volume-bushel", $this); |
1537
|
|
|
} |
1538
|
|
|
|
1539
|
|
|
/** |
1540
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1541
|
|
|
*/ |
1542
|
|
|
public function volume_gallon(float|int|string $number): NumberWithUnit |
1543
|
|
|
{ |
1544
|
|
|
return new NumberWithUnit($number, "volume-gallon", $this); |
1545
|
|
|
} |
1546
|
|
|
|
1547
|
|
|
/** |
1548
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1549
|
|
|
*/ |
1550
|
|
|
public function volume_gallon_imperial(float|int|string $number): NumberWithUnit |
1551
|
|
|
{ |
1552
|
|
|
return new NumberWithUnit($number, "volume-gallon-imperial", $this); |
1553
|
|
|
} |
1554
|
|
|
|
1555
|
|
|
/** |
1556
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1557
|
|
|
*/ |
1558
|
|
|
public function volume_quart(float|int|string $number): NumberWithUnit |
1559
|
|
|
{ |
1560
|
|
|
return new NumberWithUnit($number, "volume-quart", $this); |
1561
|
|
|
} |
1562
|
|
|
|
1563
|
|
|
/** |
1564
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1565
|
|
|
*/ |
1566
|
|
|
public function volume_pint(float|int|string $number): NumberWithUnit |
1567
|
|
|
{ |
1568
|
|
|
return new NumberWithUnit($number, "volume-pint", $this); |
1569
|
|
|
} |
1570
|
|
|
|
1571
|
|
|
/** |
1572
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1573
|
|
|
*/ |
1574
|
|
|
public function volume_cup(float|int|string $number): NumberWithUnit |
1575
|
|
|
{ |
1576
|
|
|
return new NumberWithUnit($number, "volume-cup", $this); |
1577
|
|
|
} |
1578
|
|
|
|
1579
|
|
|
/** |
1580
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1581
|
|
|
*/ |
1582
|
|
|
public function volume_fluid_ounce(float|int|string $number): NumberWithUnit |
1583
|
|
|
{ |
1584
|
|
|
return new NumberWithUnit($number, "volume-fluid-ounce", $this); |
1585
|
|
|
} |
1586
|
|
|
|
1587
|
|
|
/** |
1588
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1589
|
|
|
*/ |
1590
|
|
|
public function volume_fluid_ounce_imperial(float|int|string $number): NumberWithUnit |
1591
|
|
|
{ |
1592
|
|
|
return new NumberWithUnit($number, "volume-fluid-ounce-imperial", $this); |
1593
|
|
|
} |
1594
|
|
|
|
1595
|
|
|
/** |
1596
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1597
|
|
|
*/ |
1598
|
|
|
public function volume_tablespoon(float|int|string $number): NumberWithUnit |
1599
|
|
|
{ |
1600
|
|
|
return new NumberWithUnit($number, "volume-tablespoon", $this); |
1601
|
|
|
} |
1602
|
|
|
|
1603
|
|
|
/** |
1604
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1605
|
|
|
*/ |
1606
|
|
|
public function volume_teaspoon(float|int|string $number): NumberWithUnit |
1607
|
|
|
{ |
1608
|
|
|
return new NumberWithUnit($number, "volume-teaspoon", $this); |
1609
|
|
|
} |
1610
|
|
|
|
1611
|
|
|
/** |
1612
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1613
|
|
|
*/ |
1614
|
|
|
public function volume_barrel(float|int|string $number): NumberWithUnit |
1615
|
|
|
{ |
1616
|
|
|
return new NumberWithUnit($number, "volume-barrel", $this); |
1617
|
|
|
} |
1618
|
|
|
|
1619
|
|
|
/** |
1620
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1621
|
|
|
*/ |
1622
|
|
|
public function volume_dessert_spoon(float|int|string $number): NumberWithUnit |
1623
|
|
|
{ |
1624
|
|
|
return new NumberWithUnit($number, "volume-dessert-spoon", $this); |
1625
|
|
|
} |
1626
|
|
|
|
1627
|
|
|
/** |
1628
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1629
|
|
|
*/ |
1630
|
|
|
public function volume_dessert_spoon_imperial(float|int|string $number): NumberWithUnit |
1631
|
|
|
{ |
1632
|
|
|
return new NumberWithUnit($number, "volume-dessert-spoon-imperial", $this); |
1633
|
|
|
} |
1634
|
|
|
|
1635
|
|
|
/** |
1636
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1637
|
|
|
*/ |
1638
|
|
|
public function volume_drop(float|int|string $number): NumberWithUnit |
1639
|
|
|
{ |
1640
|
|
|
return new NumberWithUnit($number, "volume-drop", $this); |
1641
|
|
|
} |
1642
|
|
|
|
1643
|
|
|
/** |
1644
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1645
|
|
|
*/ |
1646
|
|
|
public function volume_dram(float|int|string $number): NumberWithUnit |
1647
|
|
|
{ |
1648
|
|
|
return new NumberWithUnit($number, "volume-dram", $this); |
1649
|
|
|
} |
1650
|
|
|
|
1651
|
|
|
/** |
1652
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1653
|
|
|
*/ |
1654
|
|
|
public function volume_jigger(float|int|string $number): NumberWithUnit |
1655
|
|
|
{ |
1656
|
|
|
return new NumberWithUnit($number, "volume-jigger", $this); |
1657
|
|
|
} |
1658
|
|
|
|
1659
|
|
|
/** |
1660
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1661
|
|
|
*/ |
1662
|
|
|
public function volume_pinch(float|int|string $number): NumberWithUnit |
1663
|
|
|
{ |
1664
|
|
|
return new NumberWithUnit($number, "volume-pinch", $this); |
1665
|
|
|
} |
1666
|
|
|
|
1667
|
|
|
/** |
1668
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1669
|
|
|
*/ |
1670
|
|
|
public function volume_quart_imperial(float|int|string $number): NumberWithUnit |
1671
|
|
|
{ |
1672
|
|
|
return new NumberWithUnit($number, "volume-quart-imperial", $this); |
1673
|
|
|
} |
1674
|
|
|
|
1675
|
|
|
/** |
1676
|
|
|
* @param float|int|numeric-string $number |
|
|
|
|
1677
|
|
|
*/ |
1678
|
|
|
public function pressure_gasoline_energy_density(float|int|string $number): NumberWithUnit |
1679
|
|
|
{ |
1680
|
|
|
return new NumberWithUnit($number, "pressure-gasoline-energy-density", $this); |
1681
|
|
|
} |
1682
|
|
|
} |
1683
|
|
|
|