uom-types 2.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/dist/_angle-plane.d.cts +89 -0
- package/dist/_angle-plane.d.mts +89 -0
- package/dist/_identity.d.cts +29 -0
- package/dist/_identity.d.mts +29 -0
- package/dist/_index.d.cts +235 -0
- package/dist/_index.d.mts +235 -0
- package/dist/_time-duration.d.cts +482 -0
- package/dist/_time-duration.d.mts +482 -0
- package/dist/{functions-ho.cjs → functions-higher-order.cjs} +31 -4
- package/dist/{functions-ho.d.cts → functions-higher-order.d.cts} +37 -8
- package/dist/{functions-ho.d.mts → functions-higher-order.d.mts} +37 -8
- package/dist/{functions-ho.mjs → functions-higher-order.mjs} +31 -4
- package/dist/functions.cjs +167 -5
- package/dist/functions.d.cts +169 -26
- package/dist/functions.d.mts +169 -26
- package/dist/functions.mjs +155 -6
- package/dist/index.d.cts +1 -86
- package/dist/index.d.mts +1 -86
- package/dist/units-converters.cjs +564 -0
- package/dist/units-converters.d.cts +370 -0
- package/dist/units-converters.d.mts +370 -0
- package/dist/units-converters.mjs +483 -0
- package/dist/units.d.cts +3056 -0
- package/dist/units.d.mts +3056 -0
- package/package.json +61 -48
- package/dist/si-units-converters.cjs +0 -2
- package/dist/si-units-converters.d.cts +0 -2
- package/dist/si-units-converters.d.mts +0 -2
- package/dist/si-units-converters.mjs +0 -1
- package/dist/si-units.d.cts +0 -5
- package/dist/si-units.d.mts +0 -5
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
import { b as UnknownAbstractUnit, U as UnknownUnit, l as MultiplyUnitExponents, I as Inverse, m as UnknownUnitClass, i as UnitClass, n as InverseUnitSubvalues, e as UnitSubvalues, f as UnitMeta, g as UnknownUnitMeta, h as UnitFrom, d as AbstractUnitFrom } from './_index.cjs';
|
|
2
|
+
import { B as BaseUnitClass } from './_angle-plane.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Put the given {@link Unit} to the power of 2.
|
|
6
|
+
*
|
|
7
|
+
* @group Modifiers
|
|
8
|
+
* @category General
|
|
9
|
+
* @see {@link MultiplyUnitExponents}
|
|
10
|
+
* @see {@link Cubic}
|
|
11
|
+
*/
|
|
12
|
+
type Square<T extends UnknownAbstractUnit | UnknownUnit> = MultiplyUnitExponents<T, 2>;
|
|
13
|
+
/**
|
|
14
|
+
* Put the given {@link Unit} to the power of 3.
|
|
15
|
+
*
|
|
16
|
+
* @group Modifiers
|
|
17
|
+
* @category General
|
|
18
|
+
* @see {@link MultiplyUnitExponents}
|
|
19
|
+
* @see {@link Square}
|
|
20
|
+
*/
|
|
21
|
+
type Cubic<T extends UnknownAbstractUnit | UnknownUnit> = MultiplyUnitExponents<T, 3>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Invert the {@link Unit}.
|
|
25
|
+
*
|
|
26
|
+
* @group Modifiers
|
|
27
|
+
* @category General
|
|
28
|
+
*/
|
|
29
|
+
type Reciprocal<T extends UnknownAbstractUnit | UnknownUnit> = Inverse<T>;
|
|
30
|
+
/**
|
|
31
|
+
* Invert the {@link UnitClass}.
|
|
32
|
+
*
|
|
33
|
+
* @group Unit Class Modifiers
|
|
34
|
+
* @category General
|
|
35
|
+
*/
|
|
36
|
+
type ReciprocalUnitClass<T extends UnknownUnitClass> = UnitClass<InverseUnitSubvalues<T["__uom_types__value"]>>;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @group Unit Classes
|
|
40
|
+
* @category Kinematic
|
|
41
|
+
*/
|
|
42
|
+
type FrequencyUnitClass = ReciprocalUnitClass<DurationUnitClass>;
|
|
43
|
+
/**
|
|
44
|
+
* @group Abstract Units
|
|
45
|
+
* @category Kinematic
|
|
46
|
+
*/
|
|
47
|
+
type Frequency = Reciprocal<Duration>;
|
|
48
|
+
/**
|
|
49
|
+
* @group Unit Generators
|
|
50
|
+
* @category Kinematic
|
|
51
|
+
*/
|
|
52
|
+
type FrequencyUnit<M extends UnitSubvalues> = FrequencyUnitFrom<UnitMeta<M>>;
|
|
53
|
+
/**
|
|
54
|
+
* @group Unit Generators
|
|
55
|
+
* @category Kinematic
|
|
56
|
+
*/
|
|
57
|
+
type FrequencyUnitFrom<M extends UnknownUnitMeta> = UnitFrom<FrequencyUnitClass, M>;
|
|
58
|
+
/**
|
|
59
|
+
* A unit of {@link Frequency}.
|
|
60
|
+
*
|
|
61
|
+
* One hertz is equal to one cycle per second.
|
|
62
|
+
*
|
|
63
|
+
* @group Units
|
|
64
|
+
* @category Derived
|
|
65
|
+
* @category Kinematic
|
|
66
|
+
* @symbol `Hz`
|
|
67
|
+
*/
|
|
68
|
+
type Hertz = FrequencyUnit<{}>;
|
|
69
|
+
/**
|
|
70
|
+
* A unit of {@link Frequency}.
|
|
71
|
+
*
|
|
72
|
+
* @group Units
|
|
73
|
+
* @category Kinematic
|
|
74
|
+
* @symbol `s⁻¹`
|
|
75
|
+
*/
|
|
76
|
+
type PerSecond = Hertz;
|
|
77
|
+
/**
|
|
78
|
+
* A unit of {@link Frequency}.
|
|
79
|
+
*
|
|
80
|
+
* @group Units
|
|
81
|
+
* @category Kinematic
|
|
82
|
+
* @symbol `min⁻¹`
|
|
83
|
+
*/
|
|
84
|
+
type PerMinute = FrequencyUnit<{
|
|
85
|
+
scalar60: -1;
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* A unit of {@link Frequency}.
|
|
89
|
+
*
|
|
90
|
+
* @group Units
|
|
91
|
+
* @category Kinematic
|
|
92
|
+
* @symbol `hr⁻¹`
|
|
93
|
+
*/
|
|
94
|
+
type PerHour = FrequencyUnit<{
|
|
95
|
+
scalar60: -2;
|
|
96
|
+
}>;
|
|
97
|
+
/**
|
|
98
|
+
* A unit of {@link Frequency}.
|
|
99
|
+
*
|
|
100
|
+
* @group Units
|
|
101
|
+
* @category Kinematic
|
|
102
|
+
* @symbol `day⁻¹`
|
|
103
|
+
*/
|
|
104
|
+
type PerDay = FrequencyUnit<{
|
|
105
|
+
scalar60: -2;
|
|
106
|
+
scalar24: -1;
|
|
107
|
+
}>;
|
|
108
|
+
/**
|
|
109
|
+
* A unit of {@link Frequency}.
|
|
110
|
+
*
|
|
111
|
+
* @group Units
|
|
112
|
+
* @category Kinematic
|
|
113
|
+
* @symbol `wk⁻¹`
|
|
114
|
+
*/
|
|
115
|
+
type PerWeek = FrequencyUnit<{
|
|
116
|
+
scalar60: -2;
|
|
117
|
+
scalar24: -1;
|
|
118
|
+
scalar7: -1;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* A unit of {@link Frequency}.
|
|
122
|
+
*
|
|
123
|
+
* @group Units
|
|
124
|
+
* @category Kinematic
|
|
125
|
+
* @symbol `yr⁻¹`
|
|
126
|
+
*/
|
|
127
|
+
type PerYear = FrequencyUnit<{
|
|
128
|
+
scalar60: -2;
|
|
129
|
+
scalar24: -1;
|
|
130
|
+
scalarDayInYear: -1;
|
|
131
|
+
}>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @group Unit Classes
|
|
135
|
+
* @category Mechanical
|
|
136
|
+
*/
|
|
137
|
+
type AreaUnitClass = BaseUnitClass<{
|
|
138
|
+
Metre: 2;
|
|
139
|
+
}>;
|
|
140
|
+
/**
|
|
141
|
+
* @group Abstract Units
|
|
142
|
+
* @category Mechanical
|
|
143
|
+
*/
|
|
144
|
+
type Area = AbstractUnitFrom<AreaUnitClass>;
|
|
145
|
+
/**
|
|
146
|
+
* @group Unit Generators
|
|
147
|
+
* @category Mechanical
|
|
148
|
+
*/
|
|
149
|
+
type AreaUnit<M extends UnitSubvalues> = AreaUnitFrom<UnitMeta<M>>;
|
|
150
|
+
/**
|
|
151
|
+
* @group Unit Generators
|
|
152
|
+
* @category Mechanical
|
|
153
|
+
*/
|
|
154
|
+
type AreaUnitFrom<M extends UnknownUnitMeta> = UnitFrom<AreaUnitClass, M>;
|
|
155
|
+
/**
|
|
156
|
+
* A unit of {@link Area} equal to 100 {@link Square}<{@link Metre}>.
|
|
157
|
+
*
|
|
158
|
+
* @group Units
|
|
159
|
+
* @category Mechanical
|
|
160
|
+
* @symbol `a`
|
|
161
|
+
*/
|
|
162
|
+
type Are = AreaUnit<{
|
|
163
|
+
scalar10: 2;
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* A unit of {@link Area} equal to 10,000 {@link Square}<{@link Metre}>.
|
|
167
|
+
*
|
|
168
|
+
* @group Units
|
|
169
|
+
* @category Mechanical
|
|
170
|
+
* @symbol `ha`
|
|
171
|
+
*/
|
|
172
|
+
type Hectare = AreaUnit<{
|
|
173
|
+
scalar10: 4;
|
|
174
|
+
}>;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @group Unit Classes
|
|
178
|
+
* @category Mechanical
|
|
179
|
+
*/
|
|
180
|
+
type EnergyUnitClass = BaseUnitClass<{
|
|
181
|
+
Kilogram: 1;
|
|
182
|
+
Metre: 2;
|
|
183
|
+
Second: -2;
|
|
184
|
+
}>;
|
|
185
|
+
/**
|
|
186
|
+
* @group Abstract Units
|
|
187
|
+
* @category Mechanical
|
|
188
|
+
*/
|
|
189
|
+
type Energy = AbstractUnitFrom<EnergyUnitClass>;
|
|
190
|
+
/**
|
|
191
|
+
* @group Unit Generators
|
|
192
|
+
* @category Mechanical
|
|
193
|
+
*/
|
|
194
|
+
type EnergyUnit<M extends UnitSubvalues> = EnergyUnitFrom<UnitMeta<M>>;
|
|
195
|
+
/**
|
|
196
|
+
* @group Unit Generators
|
|
197
|
+
* @category Mechanical
|
|
198
|
+
*/
|
|
199
|
+
type EnergyUnitFrom<M extends UnknownUnitMeta> = UnitFrom<EnergyUnitClass, M>;
|
|
200
|
+
/**
|
|
201
|
+
* A unit of {@link Energy}.
|
|
202
|
+
*
|
|
203
|
+
* One joule is the amount of work done when an applied force of 1 newton moves
|
|
204
|
+
* through a distance of 1 metre in the direction of the force.
|
|
205
|
+
*
|
|
206
|
+
* @group Units
|
|
207
|
+
* @category Derived
|
|
208
|
+
* @category Mechanical
|
|
209
|
+
* @symbol `J`
|
|
210
|
+
*/
|
|
211
|
+
type Joule = EnergyUnit<{}>;
|
|
212
|
+
/**
|
|
213
|
+
* A unit of {@link Energy}.
|
|
214
|
+
*
|
|
215
|
+
* @group Units
|
|
216
|
+
* @category Mechanical
|
|
217
|
+
* @symbol `W⋅s`
|
|
218
|
+
*/
|
|
219
|
+
type WattSecond = Joule;
|
|
220
|
+
/**
|
|
221
|
+
* A unit of {@link Energy}.
|
|
222
|
+
*
|
|
223
|
+
* @group Units
|
|
224
|
+
* @category Mechanical
|
|
225
|
+
* @symbol `W⋅min`
|
|
226
|
+
*/
|
|
227
|
+
type WattMinute = EnergyUnit<{
|
|
228
|
+
scalar60: 1;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* A unit of {@link Energy}.
|
|
232
|
+
*
|
|
233
|
+
* @group Units
|
|
234
|
+
* @category Mechanical
|
|
235
|
+
* @symbol `W⋅hr`
|
|
236
|
+
*/
|
|
237
|
+
type WattHour = EnergyUnit<{
|
|
238
|
+
scalar60: 2;
|
|
239
|
+
}>;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @group Unit Classes
|
|
243
|
+
* @category Mechanical
|
|
244
|
+
*/
|
|
245
|
+
type LengthUnitClass = BaseUnitClass<{
|
|
246
|
+
Metre: 1;
|
|
247
|
+
}>;
|
|
248
|
+
/**
|
|
249
|
+
* @group Abstract Units
|
|
250
|
+
* @category Mechanical
|
|
251
|
+
*/
|
|
252
|
+
type Length = AbstractUnitFrom<LengthUnitClass>;
|
|
253
|
+
/**
|
|
254
|
+
* @group Unit Generators
|
|
255
|
+
* @category Mechanical
|
|
256
|
+
*/
|
|
257
|
+
type LengthUnit<M extends UnitSubvalues> = LengthUnitFrom<UnitMeta<M>>;
|
|
258
|
+
/**
|
|
259
|
+
* @group Unit Generators
|
|
260
|
+
* @category Mechanical
|
|
261
|
+
*/
|
|
262
|
+
type LengthUnitFrom<M extends UnknownUnitMeta> = UnitFrom<LengthUnitClass, M>;
|
|
263
|
+
/**
|
|
264
|
+
* A unit of {@link Length}.
|
|
265
|
+
*
|
|
266
|
+
* @group Units
|
|
267
|
+
* @category Base
|
|
268
|
+
* @category Mechanical
|
|
269
|
+
* @symbol `m`
|
|
270
|
+
*/
|
|
271
|
+
type Metre = LengthUnit<{}>;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @group Unit Classes
|
|
275
|
+
* @category Mechanical
|
|
276
|
+
*/
|
|
277
|
+
type MassUnitClass = BaseUnitClass<{
|
|
278
|
+
Kilogram: 1;
|
|
279
|
+
}>;
|
|
280
|
+
/**
|
|
281
|
+
* @group Abstract Units
|
|
282
|
+
* @category Mechanical
|
|
283
|
+
*/
|
|
284
|
+
type Mass = AbstractUnitFrom<MassUnitClass>;
|
|
285
|
+
/**
|
|
286
|
+
* @group Unit Generators
|
|
287
|
+
* @category Mechanical
|
|
288
|
+
*/
|
|
289
|
+
type MassUnit<M extends UnitSubvalues> = MassUnitFrom<UnitMeta<M>>;
|
|
290
|
+
/**
|
|
291
|
+
* @group Unit Generators
|
|
292
|
+
* @category Mechanical
|
|
293
|
+
*/
|
|
294
|
+
type MassUnitFrom<M extends UnknownUnitMeta> = UnitFrom<MassUnitClass, M>;
|
|
295
|
+
/**
|
|
296
|
+
* A unit of {@link Mass}.
|
|
297
|
+
*
|
|
298
|
+
* @group Units
|
|
299
|
+
* @category Base
|
|
300
|
+
* @category Mechanical
|
|
301
|
+
* @symbol `g`
|
|
302
|
+
*/
|
|
303
|
+
type Gram = MassUnit<{
|
|
304
|
+
scalar10: -3;
|
|
305
|
+
}>;
|
|
306
|
+
/**
|
|
307
|
+
* A unit of {@link Mass}.
|
|
308
|
+
*
|
|
309
|
+
* @group Units
|
|
310
|
+
* @category Mechanical
|
|
311
|
+
* @symbol `t`
|
|
312
|
+
*/
|
|
313
|
+
type Tonne = MassUnit<{
|
|
314
|
+
scalar10: 3;
|
|
315
|
+
}>;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @group Unit Classes
|
|
319
|
+
* @category Mechanical
|
|
320
|
+
*/
|
|
321
|
+
type VolumeUnitClass = BaseUnitClass<{
|
|
322
|
+
Metre: 3;
|
|
323
|
+
}>;
|
|
324
|
+
/**
|
|
325
|
+
* @group Unit Classes
|
|
326
|
+
* @category Mechanical
|
|
327
|
+
*/
|
|
328
|
+
type Volume = AbstractUnitFrom<VolumeUnitClass>;
|
|
329
|
+
/**
|
|
330
|
+
* @group Unit Classes
|
|
331
|
+
* @category Mechanical
|
|
332
|
+
*/
|
|
333
|
+
type VolumeUnit<M extends UnitSubvalues> = VolumeUnitFrom<UnitMeta<M>>;
|
|
334
|
+
/**
|
|
335
|
+
* @group Unit Classes
|
|
336
|
+
* @category Mechanical
|
|
337
|
+
*/
|
|
338
|
+
type VolumeUnitFrom<M extends UnknownUnitMeta> = UnitFrom<VolumeUnitClass, M>;
|
|
339
|
+
/**
|
|
340
|
+
* A unit of volume.
|
|
341
|
+
*
|
|
342
|
+
* @group Units
|
|
343
|
+
* @category Mechanical
|
|
344
|
+
* @symbol `l`
|
|
345
|
+
*/
|
|
346
|
+
type Litre = VolumeUnit<{
|
|
347
|
+
scalar10: -3;
|
|
348
|
+
}>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @group Unit Classes
|
|
352
|
+
* @category Thermodynamic
|
|
353
|
+
*/
|
|
354
|
+
type TemperatureUnitClass = BaseUnitClass<{
|
|
355
|
+
Kelvin: 1;
|
|
356
|
+
}>;
|
|
357
|
+
/**
|
|
358
|
+
* @group Abstract Units
|
|
359
|
+
* @category Thermodynamic
|
|
360
|
+
*/
|
|
361
|
+
type Temperature = AbstractUnitFrom<TemperatureUnitClass>;
|
|
362
|
+
/**
|
|
363
|
+
* @group Unit Generators
|
|
364
|
+
* @category Thermodynamic
|
|
365
|
+
*/
|
|
366
|
+
type TemperatureUnit<M extends UnitSubvalues> = TemperatureUnitFrom<UnitMeta<M>>;
|
|
367
|
+
/**
|
|
368
|
+
* @group Unit Generators
|
|
369
|
+
* @category Thermodynamic
|
|
370
|
+
*/
|
|
371
|
+
type TemperatureUnitFrom<M extends UnknownUnitMeta> = UnitFrom<TemperatureUnitClass, M>;
|
|
372
|
+
/**
|
|
373
|
+
* A unit of {@link Temperature}.
|
|
374
|
+
*
|
|
375
|
+
* @group Units
|
|
376
|
+
* @category Base
|
|
377
|
+
* @category Thermodynamic
|
|
378
|
+
* @symbol `K`
|
|
379
|
+
*/
|
|
380
|
+
type Kelvin = TemperatureUnit<{}>;
|
|
381
|
+
/**
|
|
382
|
+
* A unit of {@link Temperature}.
|
|
383
|
+
*
|
|
384
|
+
* This is a unit of temperature such as the freezing point of water (at one atmosphere of pressure)
|
|
385
|
+
* is 0 ℃, while the boiling point is 100 ℃.
|
|
386
|
+
*
|
|
387
|
+
* @group Units
|
|
388
|
+
* @category Thermodynamic
|
|
389
|
+
* @symbol `℃`
|
|
390
|
+
*/
|
|
391
|
+
type Celsius = TemperatureUnit<{
|
|
392
|
+
"offset273.15": 1;
|
|
393
|
+
}>;
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @group Unit Classes
|
|
397
|
+
* @category Time
|
|
398
|
+
*/
|
|
399
|
+
type DurationUnitClass = BaseUnitClass<{
|
|
400
|
+
Second: 1;
|
|
401
|
+
}>;
|
|
402
|
+
/**
|
|
403
|
+
* @group Abstract Units
|
|
404
|
+
* @category Time
|
|
405
|
+
*/
|
|
406
|
+
type Duration = AbstractUnitFrom<DurationUnitClass>;
|
|
407
|
+
/**
|
|
408
|
+
* @group Unit Generators
|
|
409
|
+
* @category Time
|
|
410
|
+
*/
|
|
411
|
+
type DurationUnit<M extends UnitSubvalues> = DurationUnitFrom<UnitMeta<M>>;
|
|
412
|
+
/**
|
|
413
|
+
* @group Unit Generators
|
|
414
|
+
* @category Time
|
|
415
|
+
*/
|
|
416
|
+
type DurationUnitFrom<M extends UnknownUnitMeta> = UnitFrom<DurationUnitClass, M>;
|
|
417
|
+
/**
|
|
418
|
+
* A unit of {@link Duration}.
|
|
419
|
+
*
|
|
420
|
+
* @group Units
|
|
421
|
+
* @category Base
|
|
422
|
+
* @category Time
|
|
423
|
+
* @symbol `s`
|
|
424
|
+
*/
|
|
425
|
+
type Second = DurationUnit<{}>;
|
|
426
|
+
/**
|
|
427
|
+
* A unit of {@link Duration}.
|
|
428
|
+
*
|
|
429
|
+
* @group Units
|
|
430
|
+
* @category Time
|
|
431
|
+
* @symbol `min`
|
|
432
|
+
*/
|
|
433
|
+
type Minute = DurationUnit<{
|
|
434
|
+
scalar60: 1;
|
|
435
|
+
}>;
|
|
436
|
+
/**
|
|
437
|
+
* A unit of {@link Duration}.
|
|
438
|
+
*
|
|
439
|
+
* @group Units
|
|
440
|
+
* @category Time
|
|
441
|
+
* @symbol `hr`
|
|
442
|
+
*/
|
|
443
|
+
type Hour = DurationUnit<{
|
|
444
|
+
scalar60: 2;
|
|
445
|
+
}>;
|
|
446
|
+
/**
|
|
447
|
+
* A unit of {@link Duration}.
|
|
448
|
+
*
|
|
449
|
+
* @group Units
|
|
450
|
+
* @category Time
|
|
451
|
+
* @symbol `day`
|
|
452
|
+
*/
|
|
453
|
+
type Day = DurationUnit<{
|
|
454
|
+
scalar60: 2;
|
|
455
|
+
scalar24: 1;
|
|
456
|
+
}>;
|
|
457
|
+
/**
|
|
458
|
+
* A unit of {@link Duration}.
|
|
459
|
+
*
|
|
460
|
+
* @group Units
|
|
461
|
+
* @category Time
|
|
462
|
+
* @symbol `wk`
|
|
463
|
+
*/
|
|
464
|
+
type Week = DurationUnit<{
|
|
465
|
+
scalar60: 2;
|
|
466
|
+
scalar24: 1;
|
|
467
|
+
scalar7: 1;
|
|
468
|
+
}>;
|
|
469
|
+
/**
|
|
470
|
+
* A unit of {@link Duration}.
|
|
471
|
+
*
|
|
472
|
+
* @group Units
|
|
473
|
+
* @category Time
|
|
474
|
+
* @symbol `yr`
|
|
475
|
+
*/
|
|
476
|
+
type Year = DurationUnit<{
|
|
477
|
+
scalar60: 2;
|
|
478
|
+
scalar24: 1;
|
|
479
|
+
scalarDayInYear: 1;
|
|
480
|
+
}>;
|
|
481
|
+
|
|
482
|
+
export { VolumeUnit as $, Are as A, LengthUnitClass as B, Celsius as C, Day as D, EnergyUnitClass as E, FrequencyUnitClass as F, Gram as G, Hectare as H, Length as I, Joule as J, Kelvin as K, Litre as L, Metre as M, LengthUnit as N, LengthUnitFrom as O, PerMinute as P, MassUnitClass as Q, ReciprocalUnitClass as R, Square as S, Tonne as T, Mass as U, MassUnit as V, Week as W, MassUnitFrom as X, Year as Y, VolumeUnitClass as Z, Volume as _, Second as a, VolumeUnitFrom as a0, TemperatureUnit as a1, TemperatureUnitFrom as a2, DurationUnitClass as a3, Duration as a4, DurationUnit as a5, DurationUnitFrom as a6, Minute as b, Hour as c, WattMinute as d, WattHour as e, Hertz as f, PerHour as g, PerDay as h, PerWeek as i, PerYear as j, Cubic as k, Reciprocal as l, Energy as m, EnergyUnit as n, EnergyUnitFrom as o, TemperatureUnitClass as p, Temperature as q, Frequency as r, FrequencyUnit as s, FrequencyUnitFrom as t, PerSecond as u, AreaUnitClass as v, Area as w, AreaUnit as x, AreaUnitFrom as y, WattSecond as z };
|