forked from angularsen/UnitsNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDuration.json
124 lines (124 loc) · 3.05 KB
/
Duration.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"Name": "Duration",
"BaseUnit": "Second",
"XmlDoc": "Time is a dimension in which events can be ordered from the past through the present into the future, and also the measure of durations of events and the intervals between them.",
"BaseDimensions": {
"T": 1
},
"Units": [
{
"SingularName": "Year365",
"PluralName": "Years365",
"FromUnitToBaseFunc": "x*365*24*3600",
"FromBaseToUnitFunc": "x/(365*24*3600)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "yr", "year", "years" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "год" ]
}
]
},
{
"SingularName": "Month30",
"PluralName": "Months30",
"FromUnitToBaseFunc": "x*30*24*3600",
"FromBaseToUnitFunc": "x/(30*24*3600)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "mo", "month", "months" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "месяц" ]
}
]
},
{
"SingularName": "Week",
"PluralName": "Weeks",
"FromUnitToBaseFunc": "x*7*24*3600",
"FromBaseToUnitFunc": "x/(7*24*3600)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "wk", "week", "weeks" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "мин" ]
}
]
},
{
"SingularName": "Day",
"PluralName": "Days",
"FromUnitToBaseFunc": "x*24*3600",
"FromBaseToUnitFunc": "x/(24*3600)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "d", "day", "days" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "д" ]
}
]
},
{
"SingularName": "Hour",
"PluralName": "Hours",
"FromUnitToBaseFunc": "x*3600",
"FromBaseToUnitFunc": "x/3600",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "h", "hr", "hrs", "hour", "hours" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "ч" ]
}
]
},
{
"SingularName": "Minute",
"PluralName": "Minutes",
"FromUnitToBaseFunc": "x*60",
"FromBaseToUnitFunc": "x/60",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "m", "min", "minute", "minutes" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "мин" ]
}
]
},
{
"SingularName": "Second",
"PluralName": "Seconds",
"FromUnitToBaseFunc": "x",
"FromBaseToUnitFunc": "x",
"Prefixes": [ "Nano", "Micro", "Milli" ],
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "s", "sec", "secs", "second", "seconds" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "с" ],
"AbbreviationsWithPrefixes": [ "нс", "мкс", "мс" ]
}
]
}
]
}