ed-precompiled_date 3.4.1-x86_64-linux

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.
@@ -0,0 +1,330 @@
1
+ %{
2
+ #define GPERF_DOWNCASE 1
3
+ #define GPERF_CASE_STRNCMP 1
4
+ #define gperf_case_strncmp strncasecmp
5
+ struct zone {
6
+ int name;
7
+ int offset;
8
+ };
9
+ static const struct zone *zonetab(register const char *str, register size_t len);
10
+ %}
11
+
12
+ struct zone;
13
+ %%
14
+ ut, 0*3600
15
+ gmt, 0*3600
16
+ est, -5*3600
17
+ edt, -4*3600
18
+ cst, -6*3600
19
+ cdt, -5*3600
20
+ mst, -7*3600
21
+ mdt, -6*3600
22
+ pst, -8*3600
23
+ pdt, -7*3600
24
+ a, 1*3600
25
+ b, 2*3600
26
+ c, 3*3600
27
+ d, 4*3600
28
+ e, 5*3600
29
+ f, 6*3600
30
+ g, 7*3600
31
+ h, 8*3600
32
+ i, 9*3600
33
+ k, 10*3600
34
+ l, 11*3600
35
+ m, 12*3600
36
+ n, -1*3600
37
+ o, -2*3600
38
+ p, -3*3600
39
+ q, -4*3600
40
+ r, -5*3600
41
+ s, -6*3600
42
+ t, -7*3600
43
+ u, -8*3600
44
+ v, -9*3600
45
+ w, -10*3600
46
+ x, -11*3600
47
+ y, -12*3600
48
+ z, 0*3600
49
+ utc, 0*3600
50
+ wet, 0*3600
51
+ at, -2*3600
52
+ brst,-2*3600
53
+ ndt, -(1*3600+1800)
54
+ art, -3*3600
55
+ adt, -3*3600
56
+ brt, -3*3600
57
+ clst,-3*3600
58
+ nst, -(2*3600+1800)
59
+ ast, -4*3600
60
+ clt, -4*3600
61
+ akdt,-8*3600
62
+ ydt, -8*3600
63
+ akst,-9*3600
64
+ hadt,-9*3600
65
+ hdt, -9*3600
66
+ yst, -9*3600
67
+ ahst,-10*3600
68
+ cat,2*3600
69
+ hast,-10*3600
70
+ hst,-10*3600
71
+ nt, -11*3600
72
+ idlw,-12*3600
73
+ bst, 1*3600
74
+ cet, 1*3600
75
+ fwt, 1*3600
76
+ met, 1*3600
77
+ mewt, 1*3600
78
+ mez, 1*3600
79
+ swt, 1*3600
80
+ wat, 1*3600
81
+ west, 1*3600
82
+ cest, 2*3600
83
+ eet, 2*3600
84
+ fst, 2*3600
85
+ mest, 2*3600
86
+ mesz, 2*3600
87
+ sast, 2*3600
88
+ sst, -11*3600
89
+ bt, 3*3600
90
+ eat, 3*3600
91
+ eest, 3*3600
92
+ msk, 3*3600
93
+ msd, 4*3600
94
+ zp4, 4*3600
95
+ zp5, 5*3600
96
+ ist, (5*3600+1800)
97
+ zp6, 6*3600
98
+ wast, 2*3600
99
+ cct, (6*3600+1800)
100
+ sgt, 8*3600
101
+ wadt, 8*3600
102
+ jst, 9*3600
103
+ kst, 9*3600
104
+ east,-6*3600
105
+ gst, 10*3600
106
+ eadt,11*3600
107
+ idle,12*3600
108
+ nzst,12*3600
109
+ nzt, 12*3600
110
+ nzdt,13*3600
111
+ afghanistan, 16200
112
+ alaskan, -32400
113
+ arab, 10800
114
+ arabian, 14400
115
+ arabic, 10800
116
+ atlantic, -14400
117
+ aus central, 34200
118
+ aus eastern, 36000
119
+ azores, -3600
120
+ canada central, -21600
121
+ cape verde, -3600
122
+ caucasus, 14400
123
+ cen. australia, 34200
124
+ central america, -21600
125
+ central asia, 21600
126
+ central europe, 3600
127
+ central european, 3600
128
+ central pacific, 39600
129
+ central, -21600
130
+ china, 28800
131
+ dateline, -43200
132
+ e. africa, 10800
133
+ e. australia, 36000
134
+ e. europe, 7200
135
+ e. south america, -10800
136
+ eastern, -18000
137
+ egypt, 7200
138
+ ekaterinburg, 18000
139
+ fiji, 43200
140
+ fle, 7200
141
+ greenland, -10800
142
+ greenwich, 0
143
+ gtb, 7200
144
+ hawaiian, -36000
145
+ india, 19800
146
+ iran, 12600
147
+ jerusalem, 7200
148
+ korea, 32400
149
+ mexico, -21600
150
+ mid-atlantic, -7200
151
+ mountain, -25200
152
+ myanmar, 23400
153
+ n. central asia, 21600
154
+ nepal, 20700
155
+ new zealand, 43200
156
+ newfoundland, -12600
157
+ north asia east, 28800
158
+ north asia, 25200
159
+ pacific sa, -14400
160
+ pacific, -28800
161
+ romance, 3600
162
+ russian, 10800
163
+ sa eastern, -10800
164
+ sa pacific, -18000
165
+ sa western, -14400
166
+ samoa, -39600
167
+ se asia, 25200
168
+ malay peninsula, 28800
169
+ south africa, 7200
170
+ sri lanka, 21600
171
+ taipei, 28800
172
+ tasmania, 36000
173
+ tokyo, 32400
174
+ tonga, 46800
175
+ us eastern, -18000
176
+ us mountain, -25200
177
+ vladivostok, 36000
178
+ w. australia, 28800
179
+ w. central africa, 3600
180
+ w. europe, 3600
181
+ west asia, 18000
182
+ west pacific, 36000
183
+ yakutsk, 32400
184
+ acdt,37800
185
+ acst,34200
186
+ act,-18000
187
+ acwst,31500
188
+ aedt,39600
189
+ aest,36000
190
+ aft,16200
191
+ almt,21600
192
+ anast,43200
193
+ anat,43200
194
+ aoe,-43200
195
+ aqtt,18000
196
+ awdt,32400
197
+ awst,28800
198
+ azost,0
199
+ azot,-3600
200
+ azst,18000
201
+ azt,14400
202
+ bnt,28800
203
+ bot,-14400
204
+ btt,21600
205
+ cast,28800
206
+ chadt,49500
207
+ chast,45900
208
+ chost,32400
209
+ chot,28800
210
+ chst,36000
211
+ chut,36000
212
+ cidst,-14400
213
+ cist,-18000
214
+ ckt,-36000
215
+ cot,-18000
216
+ cvt,-3600
217
+ cxt,25200
218
+ davt,25200
219
+ ddut,36000
220
+ easst,-18000
221
+ ect,-18000
222
+ egst,0
223
+ egt,-3600
224
+ fet,10800
225
+ fjst,46800
226
+ fjt,43200
227
+ fkst,-10800
228
+ fkt,-14400
229
+ fnt,-7200
230
+ galt,-21600
231
+ gamt,-32400
232
+ get,14400
233
+ gft,-10800
234
+ gilt,43200
235
+ gyt,-14400
236
+ hkt,28800
237
+ hovst,28800
238
+ hovt,25200
239
+ ict,25200
240
+ idt,10800
241
+ iot,21600
242
+ irdt,16200
243
+ irkst,32400
244
+ irkt,28800
245
+ irst,12600
246
+ kgt,21600
247
+ kost,39600
248
+ krast,28800
249
+ krat,25200
250
+ kuyt,14400
251
+ lhdt,39600
252
+ lhst,37800
253
+ lint,50400
254
+ magst,43200
255
+ magt,39600
256
+ mart,-30600
257
+ mawt,18000
258
+ mht,43200
259
+ mmt,23400
260
+ mut,14400
261
+ mvt,18000
262
+ myt,28800
263
+ nct,39600
264
+ nfdt,43200
265
+ nft,39600
266
+ novst,25200
267
+ novt,25200
268
+ npt,20700
269
+ nrt,43200
270
+ nut,-39600
271
+ omsst,25200
272
+ omst,21600
273
+ orat,18000
274
+ pet,-18000
275
+ petst,43200
276
+ pett,43200
277
+ pgt,36000
278
+ phot,46800
279
+ pht,28800
280
+ pkt,18000
281
+ pmdt,-7200
282
+ pmst,-10800
283
+ pont,39600
284
+ pwt,32400
285
+ pyst,-10800
286
+ qyzt,21600
287
+ ret,14400
288
+ rott,-10800
289
+ sakt,39600
290
+ samt,14400
291
+ sbt,39600
292
+ sct,14400
293
+ sret,39600
294
+ srt,-10800
295
+ syot,10800
296
+ taht,-36000
297
+ tft,18000
298
+ tjt,18000
299
+ tkt,46800
300
+ tlt,32400
301
+ tmt,18000
302
+ tost,50400
303
+ tot,46800
304
+ trt,10800
305
+ tvt,43200
306
+ ulast,32400
307
+ ulat,28800
308
+ uyst,-7200
309
+ uyt,-10800
310
+ uzt,18000
311
+ vet,-14400
312
+ vlast,39600
313
+ vlat,36000
314
+ vost,21600
315
+ vut,39600
316
+ wakt,43200
317
+ warst,-10800
318
+ wft,43200
319
+ wgst,-3600
320
+ wgt,-7200
321
+ wib,25200
322
+ wit,32400
323
+ wita,28800
324
+ wt,0
325
+ yakst,36000
326
+ yakt,32400
327
+ yapt,36000
328
+ yekst,21600
329
+ yekt,18000
330
+ %%
Binary file
Binary file
Binary file
Binary file
Binary file
data/lib/date.rb ADDED
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+ # date.rb: Written by Tadayoshi Funaba 1998-2011
3
+
4
+ ruby_version = /(\d+\.\d+)/.match(::RUBY_VERSION)
5
+ begin
6
+ require "#{ruby_version}/date_core"
7
+ rescue LoadError
8
+ require "date_core"
9
+ end
10
+
11
+ class Date
12
+ VERSION = "3.4.1" # :nodoc:
13
+
14
+ # call-seq:
15
+ # infinite? -> false
16
+ #
17
+ # Returns +false+
18
+ def infinite?
19
+ false
20
+ end
21
+
22
+ class Infinity < Numeric # :nodoc:
23
+
24
+ def initialize(d=1) @d = d <=> 0 end
25
+
26
+ def d() @d end
27
+
28
+ protected :d
29
+
30
+ def zero?() false end
31
+ def finite?() false end
32
+ def infinite?() d.nonzero? end
33
+ def nan?() d.zero? end
34
+
35
+ def abs() self.class.new end
36
+
37
+ def -@() self.class.new(-d) end
38
+ def +@() self.class.new(+d) end
39
+
40
+ def <=>(other)
41
+ case other
42
+ when Infinity; return d <=> other.d
43
+ when Float::INFINITY; return d <=> 1
44
+ when -Float::INFINITY; return d <=> -1
45
+ when Numeric; return d
46
+ else
47
+ begin
48
+ l, r = other.coerce(self)
49
+ return l <=> r
50
+ rescue NoMethodError
51
+ end
52
+ end
53
+ nil
54
+ end
55
+
56
+ def coerce(other)
57
+ case other
58
+ when Numeric; return -d, d
59
+ else
60
+ super
61
+ end
62
+ end
63
+
64
+ def to_f
65
+ return 0 if @d == 0
66
+ if @d > 0
67
+ Float::INFINITY
68
+ else
69
+ -Float::INFINITY
70
+ end
71
+ end
72
+
73
+ end
74
+
75
+ end
data/lib/date_core.so ADDED
Binary file
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ed-precompiled_date
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.4.1
5
+ platform: x86_64-linux
6
+ authors:
7
+ - Tadayoshi Funaba
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: The official date library for Ruby.
13
+ email:
14
+ -
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - BSDL
20
+ - COPYING
21
+ - README.md
22
+ - ext/date/date_core.c
23
+ - ext/date/date_parse.c
24
+ - ext/date/date_strftime.c
25
+ - ext/date/date_strptime.c
26
+ - ext/date/date_tmx.h
27
+ - ext/date/extconf.rb
28
+ - ext/date/prereq.mk
29
+ - ext/date/zonetab.h
30
+ - ext/date/zonetab.list
31
+ - lib/3.0/date_core.so
32
+ - lib/3.1/date_core.so
33
+ - lib/3.2/date_core.so
34
+ - lib/3.3/date_core.so
35
+ - lib/3.4/date_core.so
36
+ - lib/date.rb
37
+ - lib/date_core.so
38
+ homepage: https://github.com/ruby/date
39
+ licenses:
40
+ - Ruby
41
+ - BSD-2-Clause
42
+ metadata:
43
+ changelog_uri: https://github.com/ruby/date/releases
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '3.0'
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.5.dev
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubygems_version: 3.6.7
62
+ specification_version: 4
63
+ summary: The official date library for Ruby.
64
+ test_files: []