forked from angularsen/UnitsNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Duration.json
159 lines (159 loc) · 3.72 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"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",
"BaseUnits": {
"T": "Year365"
},
"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",
"BaseUnits": {
"T": "Month30"
},
"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",
"BaseUnits": {
"T": "Week"
},
"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",
"BaseUnits": {
"T": "Day"
},
"FromUnitToBaseFunc": "x*24*3600",
"FromBaseToUnitFunc": "x/(24*3600)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "d", "day", "days" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "сут","д" ]
}
]
},
{
"SingularName": "Hour",
"PluralName": "Hours",
"BaseUnits": {
"T": "Hour"
},
"FromUnitToBaseFunc": "x*3600",
"FromBaseToUnitFunc": "x/3600",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "h", "hr", "hrs", "hour", "hours" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "ч", "час" ]
}
]
},
{
"SingularName": "Minute",
"PluralName": "Minutes",
"BaseUnits": {
"T": "Minute"
},
"FromUnitToBaseFunc": "x*60",
"FromBaseToUnitFunc": "x/60",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "m", "min", "minute", "minutes" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "мин" ]
}
]
},
{
"SingularName": "Second",
"PluralName": "Seconds",
"BaseUnits": {
"T": "Second"
},
"FromUnitToBaseFunc": "x",
"FromBaseToUnitFunc": "x",
"Prefixes": [ "Nano", "Micro", "Milli" ],
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "s", "sec", "secs", "second", "seconds" ]
},
{
"Culture": "ru-RU",
"Abbreviations": [ "сек", "с" ]
}
]
},
{
"SingularName": "JulianYear",
"PluralName": "JulianYears",
"BaseUnits": {
"T": "JulianYear"
},
"FromUnitToBaseFunc": "x*365.25*24*3600",
"FromBaseToUnitFunc": "x/(365.25*24*3600)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "jyr", "jyear", "jyears" ]
}
]
}
]
}