writeexcel 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitattributes +1 -1
- data/.gitignore +24 -24
- data/README.rdoc +34 -55
- data/VERSION +1 -1
- data/charts/chartex.rb +316 -316
- data/charts/demo1.rb +46 -46
- data/charts/demo2.rb +65 -65
- data/charts/demo3.rb +117 -117
- data/charts/demo4.rb +119 -119
- data/charts/demo5.rb +48 -48
- data/examples/a_simple.rb +43 -43
- data/examples/autofilter.rb +265 -265
- data/examples/bigfile.rb +30 -30
- data/examples/chart_area.rb +121 -121
- data/examples/chart_bar.rb +120 -120
- data/examples/chart_column.rb +120 -120
- data/examples/chart_line.rb +120 -120
- data/examples/chart_pie.rb +108 -108
- data/examples/chart_scatter.rb +121 -121
- data/examples/chart_stock.rb +148 -148
- data/examples/chess.rb +142 -142
- data/examples/colors.rb +129 -129
- data/examples/comments1.rb +27 -27
- data/examples/comments2.rb +352 -352
- data/examples/copyformat.rb +52 -52
- data/examples/data_validate.rb +279 -279
- data/examples/date_time.rb +87 -87
- data/examples/defined_name.rb +32 -32
- data/examples/demo.rb +124 -124
- data/examples/diag_border.rb +36 -36
- data/examples/formats.rb +490 -490
- data/examples/formula_result.rb +30 -30
- data/examples/header.rb +137 -137
- data/examples/hide_sheet.rb +29 -29
- data/examples/hyperlink.rb +43 -43
- data/examples/images.rb +63 -63
- data/examples/indent.rb +31 -31
- data/examples/merge1.rb +40 -40
- data/examples/merge2.rb +45 -45
- data/examples/merge3.rb +66 -66
- data/examples/merge4.rb +83 -83
- data/examples/merge5.rb +80 -80
- data/examples/merge6.rb +67 -67
- data/examples/outline.rb +255 -255
- data/examples/outline_collapsed.rb +209 -209
- data/examples/panes.rb +113 -113
- data/examples/properties.rb +34 -34
- data/examples/properties_jp.rb +33 -33
- data/examples/protection.rb +47 -47
- data/examples/regions.rb +53 -53
- data/examples/repeat.rb +43 -43
- data/examples/right_to_left.rb +27 -27
- data/examples/row_wrap.rb +53 -53
- data/examples/stats.rb +74 -74
- data/examples/stocks.rb +81 -81
- data/examples/tab_colors.rb +31 -31
- data/examples/utf8.rb +15 -15
- data/examples/write_arrays.rb +83 -83
- data/lib/writeexcel/biffwriter.rb +232 -232
- data/lib/writeexcel/caller_info.rb +12 -12
- data/lib/writeexcel/chart.rb +2190 -2177
- data/lib/writeexcel/charts/area.rb +154 -154
- data/lib/writeexcel/charts/bar.rb +177 -177
- data/lib/writeexcel/charts/column.rb +156 -156
- data/lib/writeexcel/charts/external.rb +66 -66
- data/lib/writeexcel/charts/line.rb +154 -154
- data/lib/writeexcel/charts/pie.rb +169 -169
- data/lib/writeexcel/charts/scatter.rb +192 -192
- data/lib/writeexcel/charts/stock.rb +213 -213
- data/lib/writeexcel/colors.rb +64 -64
- data/lib/writeexcel/compatibility.rb +0 -255
- data/lib/writeexcel/debug_info.rb +37 -33
- data/lib/writeexcel/excelformulaparser.rb +587 -587
- data/lib/writeexcel/format.rb +13 -4
- data/lib/writeexcel/formula.rb +26 -9
- data/lib/writeexcel/helper.rb +68 -64
- data/lib/writeexcel/olewriter.rb +311 -311
- data/lib/writeexcel/properties.rb +242 -240
- data/lib/writeexcel/storage_lite.rb +984 -978
- data/lib/writeexcel/workbook.rb +3210 -3192
- data/lib/writeexcel/worksheet.rb +143 -51
- data/lib/writeexcel/write_file.rb +44 -40
- data/lib/writeexcel.rb +1159 -1159
- data/test/helper.rb +31 -28
- data/test/perl_output/README +31 -31
- data/test/test_00_IEEE_double.rb +13 -13
- data/test/test_01_add_worksheet.rb +10 -10
- data/test/test_02_merge_formats.rb +53 -53
- data/test/test_04_dimensions.rb +392 -392
- data/test/test_05_rows.rb +179 -179
- data/test/test_06_extsst.rb +77 -77
- data/test/test_11_date_time.rb +479 -479
- data/test/test_12_date_only.rb +501 -501
- data/test/test_13_date_seconds.rb +481 -481
- data/test/test_21_escher.rb +637 -637
- data/test/test_22_mso_drawing_group.rb +745 -745
- data/test/test_23_note.rb +73 -73
- data/test/test_24_txo.rb +75 -75
- data/test/test_25_position_object.rb +84 -84
- data/test/test_26_autofilter.rb +314 -314
- data/test/test_27_autofilter.rb +131 -131
- data/test/test_28_autofilter.rb +161 -161
- data/test/test_29_process_jpg.rb +683 -683
- data/test/test_30_validation_dval.rb +77 -77
- data/test/test_31_validation_dv_strings.rb +126 -126
- data/test/test_32_validation_dv_formula.rb +206 -206
- data/test/test_40_property_types.rb +188 -188
- data/test/test_41_properties.rb +235 -235
- data/test/test_42_set_properties.rb +437 -437
- data/test/test_50_name_stored.rb +299 -299
- data/test/test_51_name_print_area.rb +357 -357
- data/test/test_52_name_print_titles.rb +454 -454
- data/test/test_53_autofilter.rb +203 -203
- data/test/test_60_chart_generic.rb +578 -578
- data/test/test_61_chart_subclasses.rb +95 -95
- data/test/test_62_chart_formats.rb +272 -272
- data/test/test_63_chart_area_formats.rb +649 -649
- data/test/test_biff.rb +75 -75
- data/test/test_compatibility.rb +12 -627
- data/test/test_example_match.rb +3144 -3144
- data/test/test_formula.rb +61 -61
- data/test/test_ole.rb +106 -106
- data/test/test_storage_lite.rb +125 -125
- data/test/test_workbook.rb +139 -139
- data/test/test_worksheet.rb +110 -110
- data/utils/add_magic_comment.rb +80 -80
- data/writeexcel.gemspec +4 -6
- data/writeexcel.rdoc +58 -15
- metadata +9 -6
- data/test/test_new_encoding.rb +0 -205
data/test/test_11_date_time.rb
CHANGED
@@ -1,479 +1,479 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
###############################################################################
|
3
|
-
#
|
4
|
-
# A test for WriteExcel.
|
5
|
-
#
|
6
|
-
# Tests date and time handling.
|
7
|
-
#
|
8
|
-
# reverse('©'), May 2004, John McNamara, jmcnamara@cpan.org
|
9
|
-
#
|
10
|
-
# original written in Perl by John McNamara
|
11
|
-
# converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp
|
12
|
-
#
|
13
|
-
############################################################################
|
14
|
-
require 'helper'
|
15
|
-
require 'stringio'
|
16
|
-
|
17
|
-
class TC_data_time < Test::Unit::TestCase
|
18
|
-
|
19
|
-
def setup
|
20
|
-
@workbook = WriteExcel.new(StringIO.new)
|
21
|
-
@worksheet = @workbook.add_worksheet
|
22
|
-
@fit_delta = 0.5/(24*60*60*1000)
|
23
|
-
end
|
24
|
-
|
25
|
-
def teardown
|
26
|
-
@workbook.close
|
27
|
-
end
|
28
|
-
|
29
|
-
def fit_cmp(a, b)
|
30
|
-
return (a-b).abs < @fit_delta
|
31
|
-
end
|
32
|
-
|
33
|
-
def test_float_comparison_function
|
34
|
-
# pass: diff < @fit_delta
|
35
|
-
date_time = '1899-12-31T00:00:00.0004'
|
36
|
-
number = 0
|
37
|
-
result = @worksheet.convert_date_time(date_time)
|
38
|
-
result = -1 if result.nil?
|
39
|
-
assert(fit_cmp(number, result),
|
40
|
-
"Testing convert_date_time: #{date_time} => #{result} <> #{number}")
|
41
|
-
|
42
|
-
# fail: diff > @fit_delta
|
43
|
-
date_time = '1989-12-31%00:00:00.0005'
|
44
|
-
number = 0
|
45
|
-
result = @worksheet.convert_date_time(date_time)
|
46
|
-
result = -1 if result.nil?
|
47
|
-
assert(!fit_cmp(number, result),
|
48
|
-
"Testing convert_date_time: #{date_time} => #{result} <> #{number}")
|
49
|
-
end
|
50
|
-
|
51
|
-
def test_the_time_data_generated_in_excel
|
52
|
-
lines = data_generated_excel.split(/\n/)
|
53
|
-
while !lines.empty?
|
54
|
-
line = lines.shift
|
55
|
-
braak if line =~ /^\s*# stop/ # For debugging
|
56
|
-
next unless line =~ /\S/ # Ignore blank lines
|
57
|
-
next if line =~ /^\s*#/ # Ignore comments
|
58
|
-
|
59
|
-
if line =~ /"DateTime">([^<]+)/
|
60
|
-
date_time = $1
|
61
|
-
line = lines.shift
|
62
|
-
|
63
|
-
if line =~ /"Number">([^<]+)/
|
64
|
-
number = $1.to_f
|
65
|
-
result = @worksheet.convert_date_time(date_time)
|
66
|
-
result = -1 if result.nil?
|
67
|
-
assert(fit_cmp(number, result),
|
68
|
-
"date_time: #{date_time}\n" +
|
69
|
-
"difference between #{number} and #{result}\n" +
|
70
|
-
"= #{(number - result).abs.to_s}\n" +
|
71
|
-
"> #{@fit_delta.to_s}")
|
72
|
-
end
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
def data_generated_excel
|
78
|
-
|
79
|
-
return <<-__DATA_END__
|
80
|
-
|
81
|
-
# Test data taken from Excel in XML format.
|
82
|
-
<Row>
|
83
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">1899-12-31T00:00:00.000</Data></Cell>
|
84
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">0</Data></Cell>
|
85
|
-
</Row>
|
86
|
-
<Row>
|
87
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">1982-08-25T00:15:20.213</Data></Cell>
|
88
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">30188.010650613425</Data></Cell>
|
89
|
-
</Row>
|
90
|
-
<Row>
|
91
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2065-04-19T00:16:48.290</Data></Cell>
|
92
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">60376.011670023145</Data></Cell>
|
93
|
-
</Row>
|
94
|
-
<Row>
|
95
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2147-12-15T00:55:25.446</Data></Cell>
|
96
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">90565.038488958337</Data></Cell>
|
97
|
-
</Row>
|
98
|
-
<Row>
|
99
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2230-08-10T01:02:46.891</Data></Cell>
|
100
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">120753.04359827546</Data></Cell>
|
101
|
-
</Row>
|
102
|
-
<Row>
|
103
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2313-04-06T01:04:15.597</Data></Cell>
|
104
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">150942.04462496529</Data></Cell>
|
105
|
-
</Row>
|
106
|
-
<Row>
|
107
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2395-11-30T01:09:40.889</Data></Cell>
|
108
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">181130.04838991899</Data></Cell>
|
109
|
-
</Row>
|
110
|
-
<Row>
|
111
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2478-07-25T01:11:32.560</Data></Cell>
|
112
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">211318.04968240741</Data></Cell>
|
113
|
-
</Row>
|
114
|
-
<Row>
|
115
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2561-03-21T01:30:19.169</Data></Cell>
|
116
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">241507.06272186342</Data></Cell>
|
117
|
-
</Row>
|
118
|
-
<Row>
|
119
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2643-11-15T01:48:25.580</Data></Cell>
|
120
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">271695.07529606484</Data></Cell>
|
121
|
-
</Row>
|
122
|
-
<Row>
|
123
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2726-07-12T02:03:31.919</Data></Cell>
|
124
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">301884.08578609955</Data></Cell>
|
125
|
-
</Row>
|
126
|
-
<Row>
|
127
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2809-03-06T02:11:11.986</Data></Cell>
|
128
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">332072.09111094906</Data></Cell>
|
129
|
-
</Row>
|
130
|
-
<Row>
|
131
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2891-10-31T02:24:37.095</Data></Cell>
|
132
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">362261.10042934027</Data></Cell>
|
133
|
-
</Row>
|
134
|
-
<Row>
|
135
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2974-06-26T02:35:07.220</Data></Cell>
|
136
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">392449.10772245371</Data></Cell>
|
137
|
-
</Row>
|
138
|
-
<Row>
|
139
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3057-02-19T02:45:12.109</Data></Cell>
|
140
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">422637.1147234838</Data></Cell>
|
141
|
-
</Row>
|
142
|
-
<Row>
|
143
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3139-10-17T03:06:39.990</Data></Cell>
|
144
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">452826.12962951389</Data></Cell>
|
145
|
-
</Row>
|
146
|
-
<Row>
|
147
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3222-06-11T03:08:08.251</Data></Cell>
|
148
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">483014.13065105322</Data></Cell>
|
149
|
-
</Row>
|
150
|
-
<Row>
|
151
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3305-02-05T03:19:12.576</Data></Cell>
|
152
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">513203.13834</Data></Cell>
|
153
|
-
</Row>
|
154
|
-
<Row>
|
155
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3387-10-01T03:29:42.574</Data></Cell>
|
156
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">543391.14563164348</Data></Cell>
|
157
|
-
</Row>
|
158
|
-
<Row>
|
159
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3470-05-27T03:37:30.813</Data></Cell>
|
160
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">573579.15105107636</Data></Cell>
|
161
|
-
</Row>
|
162
|
-
<Row>
|
163
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3553-01-21T04:14:38.231</Data></Cell>
|
164
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">603768.17683137732</Data></Cell>
|
165
|
-
</Row>
|
166
|
-
<Row>
|
167
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3635-09-16T04:16:28.559</Data></Cell>
|
168
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">633956.17810832174</Data></Cell>
|
169
|
-
</Row>
|
170
|
-
<Row>
|
171
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3718-05-13T04:17:58.222</Data></Cell>
|
172
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">664145.17914608796</Data></Cell>
|
173
|
-
</Row>
|
174
|
-
<Row>
|
175
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3801-01-06T04:21:41.794</Data></Cell>
|
176
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">694333.18173372687</Data></Cell>
|
177
|
-
</Row>
|
178
|
-
<Row>
|
179
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3883-09-02T04:56:35.792</Data></Cell>
|
180
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">724522.20596981479</Data></Cell>
|
181
|
-
</Row>
|
182
|
-
<Row>
|
183
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3966-04-28T05:25:14.885</Data></Cell>
|
184
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">754710.2258667245</Data></Cell>
|
185
|
-
</Row>
|
186
|
-
<Row>
|
187
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4048-12-21T05:26:05.724</Data></Cell>
|
188
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">784898.22645513888</Data></Cell>
|
189
|
-
</Row>
|
190
|
-
<Row>
|
191
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4131-08-18T05:46:44.068</Data></Cell>
|
192
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">815087.24078782403</Data></Cell>
|
193
|
-
</Row>
|
194
|
-
<Row>
|
195
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4214-04-13T05:48:01.141</Data></Cell>
|
196
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">845275.24167987274</Data></Cell>
|
197
|
-
</Row>
|
198
|
-
<Row>
|
199
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4296-12-07T05:53:52.315</Data></Cell>
|
200
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">875464.24574438657</Data></Cell>
|
201
|
-
</Row>
|
202
|
-
<Row>
|
203
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4379-08-03T06:14:48.580</Data></Cell>
|
204
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">905652.26028449077</Data></Cell>
|
205
|
-
</Row>
|
206
|
-
<Row>
|
207
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4462-03-28T06:46:15.738</Data></Cell>
|
208
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">935840.28212659725</Data></Cell>
|
209
|
-
</Row>
|
210
|
-
<Row>
|
211
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4544-11-22T07:31:20.407</Data></Cell>
|
212
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">966029.31343063654</Data></Cell>
|
213
|
-
</Row>
|
214
|
-
<Row>
|
215
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4627-07-19T07:58:33.754</Data></Cell>
|
216
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">996217.33233511576</Data></Cell>
|
217
|
-
</Row>
|
218
|
-
<Row>
|
219
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4710-03-15T08:07:43.130</Data></Cell>
|
220
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1026406.3386936343</Data></Cell>
|
221
|
-
</Row>
|
222
|
-
<Row>
|
223
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4792-11-07T08:29:11.091</Data></Cell>
|
224
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1056594.3536005903</Data></Cell>
|
225
|
-
</Row>
|
226
|
-
<Row>
|
227
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4875-07-04T09:08:15.328</Data></Cell>
|
228
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1086783.3807329629</Data></Cell>
|
229
|
-
</Row>
|
230
|
-
<Row>
|
231
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4958-02-27T09:30:41.781</Data></Cell>
|
232
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1116971.3963169097</Data></Cell>
|
233
|
-
</Row>
|
234
|
-
<Row>
|
235
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5040-10-23T09:34:04.462</Data></Cell>
|
236
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1147159.3986627546</Data></Cell>
|
237
|
-
</Row>
|
238
|
-
<Row>
|
239
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5123-06-20T09:37:23.945</Data></Cell>
|
240
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1177348.4009715857</Data></Cell>
|
241
|
-
</Row>
|
242
|
-
<Row>
|
243
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5206-02-12T09:37:56.655</Data></Cell>
|
244
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1207536.4013501736</Data></Cell>
|
245
|
-
</Row>
|
246
|
-
<Row>
|
247
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5288-10-08T09:45:12.230</Data></Cell>
|
248
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1237725.406391551</Data></Cell>
|
249
|
-
</Row>
|
250
|
-
<Row>
|
251
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5371-06-04T09:54:14.782</Data></Cell>
|
252
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1267913.412671088</Data></Cell>
|
253
|
-
</Row>
|
254
|
-
<Row>
|
255
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5454-01-28T09:54:22.108</Data></Cell>
|
256
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1298101.4127558796</Data></Cell>
|
257
|
-
</Row>
|
258
|
-
<Row>
|
259
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5536-09-24T10:01:36.151</Data></Cell>
|
260
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1328290.4177795255</Data></Cell>
|
261
|
-
</Row>
|
262
|
-
<Row>
|
263
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5619-05-20T12:09:48.602</Data></Cell>
|
264
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1358478.5068125231</Data></Cell>
|
265
|
-
</Row>
|
266
|
-
<Row>
|
267
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5702-01-14T12:34:08.549</Data></Cell>
|
268
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1388667.5237100578</Data></Cell>
|
269
|
-
</Row>
|
270
|
-
<Row>
|
271
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5784-09-08T12:56:06.495</Data></Cell>
|
272
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1418855.5389640625</Data></Cell>
|
273
|
-
</Row>
|
274
|
-
<Row>
|
275
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5867-05-06T12:58:58.217</Data></Cell>
|
276
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1449044.5409515856</Data></Cell>
|
277
|
-
</Row>
|
278
|
-
<Row>
|
279
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5949-12-30T12:59:54.263</Data></Cell>
|
280
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1479232.5416002662</Data></Cell>
|
281
|
-
</Row>
|
282
|
-
<Row>
|
283
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6032-08-24T13:34:41.331</Data></Cell>
|
284
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1509420.5657561459</Data></Cell>
|
285
|
-
</Row>
|
286
|
-
<Row>
|
287
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6115-04-21T13:58:28.601</Data></Cell>
|
288
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1539609.5822754744</Data></Cell>
|
289
|
-
</Row>
|
290
|
-
<Row>
|
291
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6197-12-14T14:02:16.899</Data></Cell>
|
292
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1569797.5849178126</Data></Cell>
|
293
|
-
</Row>
|
294
|
-
<Row>
|
295
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6280-08-10T14:36:17.444</Data></Cell>
|
296
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1599986.6085352316</Data></Cell>
|
297
|
-
</Row>
|
298
|
-
<Row>
|
299
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6363-04-06T14:37:57.451</Data></Cell>
|
300
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1630174.60969272</Data></Cell>
|
301
|
-
</Row>
|
302
|
-
<Row>
|
303
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6445-11-30T14:57:42.757</Data></Cell>
|
304
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1660363.6234115392</Data></Cell>
|
305
|
-
</Row>
|
306
|
-
<Row>
|
307
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6528-07-26T15:10:48.307</Data></Cell>
|
308
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1690551.6325035533</Data></Cell>
|
309
|
-
</Row>
|
310
|
-
<Row>
|
311
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6611-03-22T15:14:39.890</Data></Cell>
|
312
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1720739.635183912</Data></Cell>
|
313
|
-
</Row>
|
314
|
-
<Row>
|
315
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6693-11-15T15:19:47.988</Data></Cell>
|
316
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1750928.6387498612</Data></Cell>
|
317
|
-
</Row>
|
318
|
-
<Row>
|
319
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6776-07-11T16:04:24.344</Data></Cell>
|
320
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1781116.6697262037</Data></Cell>
|
321
|
-
</Row>
|
322
|
-
<Row>
|
323
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6859-03-07T16:22:23.952</Data></Cell>
|
324
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1811305.6822216667</Data></Cell>
|
325
|
-
</Row>
|
326
|
-
<Row>
|
327
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6941-10-31T16:29:55.999</Data></Cell>
|
328
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1841493.6874536921</Data></Cell>
|
329
|
-
</Row>
|
330
|
-
<Row>
|
331
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7024-06-26T16:58:20.259</Data></Cell>
|
332
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1871681.7071789235</Data></Cell>
|
333
|
-
</Row>
|
334
|
-
<Row>
|
335
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7107-02-21T17:04:02.415</Data></Cell>
|
336
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1901870.7111390624</Data></Cell>
|
337
|
-
</Row>
|
338
|
-
<Row>
|
339
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7189-10-16T17:18:29.630</Data></Cell>
|
340
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1932058.7211762732</Data></Cell>
|
341
|
-
</Row>
|
342
|
-
<Row>
|
343
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7272-06-11T17:47:21.323</Data></Cell>
|
344
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1962247.7412190163</Data></Cell>
|
345
|
-
</Row>
|
346
|
-
<Row>
|
347
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7355-02-05T17:53:29.866</Data></Cell>
|
348
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1992435.7454845603</Data></Cell>
|
349
|
-
</Row>
|
350
|
-
<Row>
|
351
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7437-10-02T17:53:41.076</Data></Cell>
|
352
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2022624.7456143056</Data></Cell>
|
353
|
-
</Row>
|
354
|
-
<Row>
|
355
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7520-05-28T17:55:06.044</Data></Cell>
|
356
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2052812.7465977315</Data></Cell>
|
357
|
-
</Row>
|
358
|
-
<Row>
|
359
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7603-01-21T18:14:49.151</Data></Cell>
|
360
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2083000.7602910995</Data></Cell>
|
361
|
-
</Row>
|
362
|
-
<Row>
|
363
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7685-09-16T18:17:45.738</Data></Cell>
|
364
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2113189.7623349307</Data></Cell>
|
365
|
-
</Row>
|
366
|
-
<Row>
|
367
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7768-05-12T18:29:59.700</Data></Cell>
|
368
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2143377.7708298611</Data></Cell>
|
369
|
-
</Row>
|
370
|
-
<Row>
|
371
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7851-01-07T18:33:21.233</Data></Cell>
|
372
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2173566.773162419</Data></Cell>
|
373
|
-
</Row>
|
374
|
-
<Row>
|
375
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7933-09-02T19:14:24.673</Data></Cell>
|
376
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2203754.8016744559</Data></Cell>
|
377
|
-
</Row>
|
378
|
-
<Row>
|
379
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8016-04-27T19:17:12.816</Data></Cell>
|
380
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2233942.8036205554</Data></Cell>
|
381
|
-
</Row>
|
382
|
-
<Row>
|
383
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8098-12-22T19:23:36.418</Data></Cell>
|
384
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2264131.8080603937</Data></Cell>
|
385
|
-
</Row>
|
386
|
-
<Row>
|
387
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8181-08-17T19:46:25.908</Data></Cell>
|
388
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2294319.8239109721</Data></Cell>
|
389
|
-
</Row>
|
390
|
-
<Row>
|
391
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8264-04-13T20:07:47.314</Data></Cell>
|
392
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2324508.8387420601</Data></Cell>
|
393
|
-
</Row>
|
394
|
-
<Row>
|
395
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8346-12-08T20:31:37.603</Data></Cell>
|
396
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2354696.855296331</Data></Cell>
|
397
|
-
</Row>
|
398
|
-
<Row>
|
399
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8429-08-03T20:39:57.770</Data></Cell>
|
400
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2384885.8610853008</Data></Cell>
|
401
|
-
</Row>
|
402
|
-
<Row>
|
403
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8512-03-29T20:50:17.067</Data></Cell>
|
404
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2415073.8682530904</Data></Cell>
|
405
|
-
</Row>
|
406
|
-
<Row>
|
407
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8594-11-22T21:02:57.827</Data></Cell>
|
408
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2445261.8770581828</Data></Cell>
|
409
|
-
</Row>
|
410
|
-
<Row>
|
411
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8677-07-19T21:23:05.519</Data></Cell>
|
412
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2475450.8910360998</Data></Cell>
|
413
|
-
</Row>
|
414
|
-
<Row>
|
415
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8760-03-14T21:34:49.572</Data></Cell>
|
416
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2505638.8991848612</Data></Cell>
|
417
|
-
</Row>
|
418
|
-
<Row>
|
419
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8842-11-08T21:39:05.944</Data></Cell>
|
420
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2535827.9021521294</Data></Cell>
|
421
|
-
</Row>
|
422
|
-
<Row>
|
423
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8925-07-04T21:39:18.426</Data></Cell>
|
424
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2566015.9022965971</Data></Cell>
|
425
|
-
</Row>
|
426
|
-
<Row>
|
427
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9008-02-28T21:46:07.769</Data></Cell>
|
428
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2596203.9070343636</Data></Cell>
|
429
|
-
</Row>
|
430
|
-
<Row>
|
431
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9090-10-24T21:57:55.662</Data></Cell>
|
432
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2626392.9152275696</Data></Cell>
|
433
|
-
</Row>
|
434
|
-
<Row>
|
435
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9173-06-19T22:19:11.732</Data></Cell>
|
436
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2656580.9299968979</Data></Cell>
|
437
|
-
</Row>
|
438
|
-
<Row>
|
439
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9256-02-13T22:23:51.376</Data></Cell>
|
440
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2686769.9332335186</Data></Cell>
|
441
|
-
</Row>
|
442
|
-
<Row>
|
443
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9338-10-09T22:27:58.771</Data></Cell>
|
444
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2716957.9360968866</Data></Cell>
|
445
|
-
</Row>
|
446
|
-
<Row>
|
447
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9421-06-05T22:43:30.392</Data></Cell>
|
448
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2747146.9468795368</Data></Cell>
|
449
|
-
</Row>
|
450
|
-
<Row>
|
451
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9504-01-30T22:48:25.834</Data></Cell>
|
452
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2777334.9502990046</Data></Cell>
|
453
|
-
</Row>
|
454
|
-
<Row>
|
455
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9586-09-24T22:53:51.727</Data></Cell>
|
456
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2807522.9540709145</Data></Cell>
|
457
|
-
</Row>
|
458
|
-
<Row>
|
459
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9669-05-20T23:12:56.536</Data></Cell>
|
460
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2837711.9673210187</Data></Cell>
|
461
|
-
</Row>
|
462
|
-
<Row>
|
463
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9752-01-14T23:15:54.109</Data></Cell>
|
464
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2867899.9693762613</Data></Cell>
|
465
|
-
</Row>
|
466
|
-
<Row>
|
467
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9834-09-10T23:17:12.632</Data></Cell>
|
468
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2898088.9702850925</Data></Cell>
|
469
|
-
</Row>
|
470
|
-
<Row>
|
471
|
-
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9999-12-31T23:59:59.000</Data></Cell>
|
472
|
-
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2958465.999988426</Data></Cell>
|
473
|
-
</Row>
|
474
|
-
|
475
|
-
__DATA_END__
|
476
|
-
|
477
|
-
end
|
478
|
-
|
479
|
-
end
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
###############################################################################
|
3
|
+
#
|
4
|
+
# A test for WriteExcel.
|
5
|
+
#
|
6
|
+
# Tests date and time handling.
|
7
|
+
#
|
8
|
+
# reverse('©'), May 2004, John McNamara, jmcnamara@cpan.org
|
9
|
+
#
|
10
|
+
# original written in Perl by John McNamara
|
11
|
+
# converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp
|
12
|
+
#
|
13
|
+
############################################################################
|
14
|
+
require 'helper'
|
15
|
+
require 'stringio'
|
16
|
+
|
17
|
+
class TC_data_time < Test::Unit::TestCase
|
18
|
+
|
19
|
+
def setup
|
20
|
+
@workbook = WriteExcel.new(StringIO.new)
|
21
|
+
@worksheet = @workbook.add_worksheet
|
22
|
+
@fit_delta = 0.5/(24*60*60*1000)
|
23
|
+
end
|
24
|
+
|
25
|
+
def teardown
|
26
|
+
@workbook.close
|
27
|
+
end
|
28
|
+
|
29
|
+
def fit_cmp(a, b)
|
30
|
+
return (a-b).abs < @fit_delta
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_float_comparison_function
|
34
|
+
# pass: diff < @fit_delta
|
35
|
+
date_time = '1899-12-31T00:00:00.0004'
|
36
|
+
number = 0
|
37
|
+
result = @worksheet.convert_date_time(date_time)
|
38
|
+
result = -1 if result.nil?
|
39
|
+
assert(fit_cmp(number, result),
|
40
|
+
"Testing convert_date_time: #{date_time} => #{result} <> #{number}")
|
41
|
+
|
42
|
+
# fail: diff > @fit_delta
|
43
|
+
date_time = '1989-12-31%00:00:00.0005'
|
44
|
+
number = 0
|
45
|
+
result = @worksheet.convert_date_time(date_time)
|
46
|
+
result = -1 if result.nil?
|
47
|
+
assert(!fit_cmp(number, result),
|
48
|
+
"Testing convert_date_time: #{date_time} => #{result} <> #{number}")
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_the_time_data_generated_in_excel
|
52
|
+
lines = data_generated_excel.split(/\n/)
|
53
|
+
while !lines.empty?
|
54
|
+
line = lines.shift
|
55
|
+
braak if line =~ /^\s*# stop/ # For debugging
|
56
|
+
next unless line =~ /\S/ # Ignore blank lines
|
57
|
+
next if line =~ /^\s*#/ # Ignore comments
|
58
|
+
|
59
|
+
if line =~ /"DateTime">([^<]+)/
|
60
|
+
date_time = $1
|
61
|
+
line = lines.shift
|
62
|
+
|
63
|
+
if line =~ /"Number">([^<]+)/
|
64
|
+
number = $1.to_f
|
65
|
+
result = @worksheet.convert_date_time(date_time)
|
66
|
+
result = -1 if result.nil?
|
67
|
+
assert(fit_cmp(number, result),
|
68
|
+
"date_time: #{date_time}\n" +
|
69
|
+
"difference between #{number} and #{result}\n" +
|
70
|
+
"= #{(number - result).abs.to_s}\n" +
|
71
|
+
"> #{@fit_delta.to_s}")
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
def data_generated_excel
|
78
|
+
|
79
|
+
return <<-__DATA_END__
|
80
|
+
|
81
|
+
# Test data taken from Excel in XML format.
|
82
|
+
<Row>
|
83
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">1899-12-31T00:00:00.000</Data></Cell>
|
84
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">0</Data></Cell>
|
85
|
+
</Row>
|
86
|
+
<Row>
|
87
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">1982-08-25T00:15:20.213</Data></Cell>
|
88
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">30188.010650613425</Data></Cell>
|
89
|
+
</Row>
|
90
|
+
<Row>
|
91
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2065-04-19T00:16:48.290</Data></Cell>
|
92
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">60376.011670023145</Data></Cell>
|
93
|
+
</Row>
|
94
|
+
<Row>
|
95
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2147-12-15T00:55:25.446</Data></Cell>
|
96
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">90565.038488958337</Data></Cell>
|
97
|
+
</Row>
|
98
|
+
<Row>
|
99
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2230-08-10T01:02:46.891</Data></Cell>
|
100
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">120753.04359827546</Data></Cell>
|
101
|
+
</Row>
|
102
|
+
<Row>
|
103
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2313-04-06T01:04:15.597</Data></Cell>
|
104
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">150942.04462496529</Data></Cell>
|
105
|
+
</Row>
|
106
|
+
<Row>
|
107
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2395-11-30T01:09:40.889</Data></Cell>
|
108
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">181130.04838991899</Data></Cell>
|
109
|
+
</Row>
|
110
|
+
<Row>
|
111
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2478-07-25T01:11:32.560</Data></Cell>
|
112
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">211318.04968240741</Data></Cell>
|
113
|
+
</Row>
|
114
|
+
<Row>
|
115
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2561-03-21T01:30:19.169</Data></Cell>
|
116
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">241507.06272186342</Data></Cell>
|
117
|
+
</Row>
|
118
|
+
<Row>
|
119
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2643-11-15T01:48:25.580</Data></Cell>
|
120
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">271695.07529606484</Data></Cell>
|
121
|
+
</Row>
|
122
|
+
<Row>
|
123
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2726-07-12T02:03:31.919</Data></Cell>
|
124
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">301884.08578609955</Data></Cell>
|
125
|
+
</Row>
|
126
|
+
<Row>
|
127
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2809-03-06T02:11:11.986</Data></Cell>
|
128
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">332072.09111094906</Data></Cell>
|
129
|
+
</Row>
|
130
|
+
<Row>
|
131
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2891-10-31T02:24:37.095</Data></Cell>
|
132
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">362261.10042934027</Data></Cell>
|
133
|
+
</Row>
|
134
|
+
<Row>
|
135
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">2974-06-26T02:35:07.220</Data></Cell>
|
136
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">392449.10772245371</Data></Cell>
|
137
|
+
</Row>
|
138
|
+
<Row>
|
139
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3057-02-19T02:45:12.109</Data></Cell>
|
140
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">422637.1147234838</Data></Cell>
|
141
|
+
</Row>
|
142
|
+
<Row>
|
143
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3139-10-17T03:06:39.990</Data></Cell>
|
144
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">452826.12962951389</Data></Cell>
|
145
|
+
</Row>
|
146
|
+
<Row>
|
147
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3222-06-11T03:08:08.251</Data></Cell>
|
148
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">483014.13065105322</Data></Cell>
|
149
|
+
</Row>
|
150
|
+
<Row>
|
151
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3305-02-05T03:19:12.576</Data></Cell>
|
152
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">513203.13834</Data></Cell>
|
153
|
+
</Row>
|
154
|
+
<Row>
|
155
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3387-10-01T03:29:42.574</Data></Cell>
|
156
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">543391.14563164348</Data></Cell>
|
157
|
+
</Row>
|
158
|
+
<Row>
|
159
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3470-05-27T03:37:30.813</Data></Cell>
|
160
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">573579.15105107636</Data></Cell>
|
161
|
+
</Row>
|
162
|
+
<Row>
|
163
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3553-01-21T04:14:38.231</Data></Cell>
|
164
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">603768.17683137732</Data></Cell>
|
165
|
+
</Row>
|
166
|
+
<Row>
|
167
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3635-09-16T04:16:28.559</Data></Cell>
|
168
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">633956.17810832174</Data></Cell>
|
169
|
+
</Row>
|
170
|
+
<Row>
|
171
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3718-05-13T04:17:58.222</Data></Cell>
|
172
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">664145.17914608796</Data></Cell>
|
173
|
+
</Row>
|
174
|
+
<Row>
|
175
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3801-01-06T04:21:41.794</Data></Cell>
|
176
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">694333.18173372687</Data></Cell>
|
177
|
+
</Row>
|
178
|
+
<Row>
|
179
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3883-09-02T04:56:35.792</Data></Cell>
|
180
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">724522.20596981479</Data></Cell>
|
181
|
+
</Row>
|
182
|
+
<Row>
|
183
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">3966-04-28T05:25:14.885</Data></Cell>
|
184
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">754710.2258667245</Data></Cell>
|
185
|
+
</Row>
|
186
|
+
<Row>
|
187
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4048-12-21T05:26:05.724</Data></Cell>
|
188
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">784898.22645513888</Data></Cell>
|
189
|
+
</Row>
|
190
|
+
<Row>
|
191
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4131-08-18T05:46:44.068</Data></Cell>
|
192
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">815087.24078782403</Data></Cell>
|
193
|
+
</Row>
|
194
|
+
<Row>
|
195
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4214-04-13T05:48:01.141</Data></Cell>
|
196
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">845275.24167987274</Data></Cell>
|
197
|
+
</Row>
|
198
|
+
<Row>
|
199
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4296-12-07T05:53:52.315</Data></Cell>
|
200
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">875464.24574438657</Data></Cell>
|
201
|
+
</Row>
|
202
|
+
<Row>
|
203
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4379-08-03T06:14:48.580</Data></Cell>
|
204
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">905652.26028449077</Data></Cell>
|
205
|
+
</Row>
|
206
|
+
<Row>
|
207
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4462-03-28T06:46:15.738</Data></Cell>
|
208
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">935840.28212659725</Data></Cell>
|
209
|
+
</Row>
|
210
|
+
<Row>
|
211
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4544-11-22T07:31:20.407</Data></Cell>
|
212
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">966029.31343063654</Data></Cell>
|
213
|
+
</Row>
|
214
|
+
<Row>
|
215
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4627-07-19T07:58:33.754</Data></Cell>
|
216
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">996217.33233511576</Data></Cell>
|
217
|
+
</Row>
|
218
|
+
<Row>
|
219
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4710-03-15T08:07:43.130</Data></Cell>
|
220
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1026406.3386936343</Data></Cell>
|
221
|
+
</Row>
|
222
|
+
<Row>
|
223
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4792-11-07T08:29:11.091</Data></Cell>
|
224
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1056594.3536005903</Data></Cell>
|
225
|
+
</Row>
|
226
|
+
<Row>
|
227
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4875-07-04T09:08:15.328</Data></Cell>
|
228
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1086783.3807329629</Data></Cell>
|
229
|
+
</Row>
|
230
|
+
<Row>
|
231
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">4958-02-27T09:30:41.781</Data></Cell>
|
232
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1116971.3963169097</Data></Cell>
|
233
|
+
</Row>
|
234
|
+
<Row>
|
235
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5040-10-23T09:34:04.462</Data></Cell>
|
236
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1147159.3986627546</Data></Cell>
|
237
|
+
</Row>
|
238
|
+
<Row>
|
239
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5123-06-20T09:37:23.945</Data></Cell>
|
240
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1177348.4009715857</Data></Cell>
|
241
|
+
</Row>
|
242
|
+
<Row>
|
243
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5206-02-12T09:37:56.655</Data></Cell>
|
244
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1207536.4013501736</Data></Cell>
|
245
|
+
</Row>
|
246
|
+
<Row>
|
247
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5288-10-08T09:45:12.230</Data></Cell>
|
248
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1237725.406391551</Data></Cell>
|
249
|
+
</Row>
|
250
|
+
<Row>
|
251
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5371-06-04T09:54:14.782</Data></Cell>
|
252
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1267913.412671088</Data></Cell>
|
253
|
+
</Row>
|
254
|
+
<Row>
|
255
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5454-01-28T09:54:22.108</Data></Cell>
|
256
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1298101.4127558796</Data></Cell>
|
257
|
+
</Row>
|
258
|
+
<Row>
|
259
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5536-09-24T10:01:36.151</Data></Cell>
|
260
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1328290.4177795255</Data></Cell>
|
261
|
+
</Row>
|
262
|
+
<Row>
|
263
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5619-05-20T12:09:48.602</Data></Cell>
|
264
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1358478.5068125231</Data></Cell>
|
265
|
+
</Row>
|
266
|
+
<Row>
|
267
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5702-01-14T12:34:08.549</Data></Cell>
|
268
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1388667.5237100578</Data></Cell>
|
269
|
+
</Row>
|
270
|
+
<Row>
|
271
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5784-09-08T12:56:06.495</Data></Cell>
|
272
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1418855.5389640625</Data></Cell>
|
273
|
+
</Row>
|
274
|
+
<Row>
|
275
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5867-05-06T12:58:58.217</Data></Cell>
|
276
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1449044.5409515856</Data></Cell>
|
277
|
+
</Row>
|
278
|
+
<Row>
|
279
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">5949-12-30T12:59:54.263</Data></Cell>
|
280
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1479232.5416002662</Data></Cell>
|
281
|
+
</Row>
|
282
|
+
<Row>
|
283
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6032-08-24T13:34:41.331</Data></Cell>
|
284
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1509420.5657561459</Data></Cell>
|
285
|
+
</Row>
|
286
|
+
<Row>
|
287
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6115-04-21T13:58:28.601</Data></Cell>
|
288
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1539609.5822754744</Data></Cell>
|
289
|
+
</Row>
|
290
|
+
<Row>
|
291
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6197-12-14T14:02:16.899</Data></Cell>
|
292
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1569797.5849178126</Data></Cell>
|
293
|
+
</Row>
|
294
|
+
<Row>
|
295
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6280-08-10T14:36:17.444</Data></Cell>
|
296
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1599986.6085352316</Data></Cell>
|
297
|
+
</Row>
|
298
|
+
<Row>
|
299
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6363-04-06T14:37:57.451</Data></Cell>
|
300
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1630174.60969272</Data></Cell>
|
301
|
+
</Row>
|
302
|
+
<Row>
|
303
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6445-11-30T14:57:42.757</Data></Cell>
|
304
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1660363.6234115392</Data></Cell>
|
305
|
+
</Row>
|
306
|
+
<Row>
|
307
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6528-07-26T15:10:48.307</Data></Cell>
|
308
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1690551.6325035533</Data></Cell>
|
309
|
+
</Row>
|
310
|
+
<Row>
|
311
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6611-03-22T15:14:39.890</Data></Cell>
|
312
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1720739.635183912</Data></Cell>
|
313
|
+
</Row>
|
314
|
+
<Row>
|
315
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6693-11-15T15:19:47.988</Data></Cell>
|
316
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1750928.6387498612</Data></Cell>
|
317
|
+
</Row>
|
318
|
+
<Row>
|
319
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6776-07-11T16:04:24.344</Data></Cell>
|
320
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1781116.6697262037</Data></Cell>
|
321
|
+
</Row>
|
322
|
+
<Row>
|
323
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6859-03-07T16:22:23.952</Data></Cell>
|
324
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1811305.6822216667</Data></Cell>
|
325
|
+
</Row>
|
326
|
+
<Row>
|
327
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">6941-10-31T16:29:55.999</Data></Cell>
|
328
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1841493.6874536921</Data></Cell>
|
329
|
+
</Row>
|
330
|
+
<Row>
|
331
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7024-06-26T16:58:20.259</Data></Cell>
|
332
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1871681.7071789235</Data></Cell>
|
333
|
+
</Row>
|
334
|
+
<Row>
|
335
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7107-02-21T17:04:02.415</Data></Cell>
|
336
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1901870.7111390624</Data></Cell>
|
337
|
+
</Row>
|
338
|
+
<Row>
|
339
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7189-10-16T17:18:29.630</Data></Cell>
|
340
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1932058.7211762732</Data></Cell>
|
341
|
+
</Row>
|
342
|
+
<Row>
|
343
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7272-06-11T17:47:21.323</Data></Cell>
|
344
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1962247.7412190163</Data></Cell>
|
345
|
+
</Row>
|
346
|
+
<Row>
|
347
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7355-02-05T17:53:29.866</Data></Cell>
|
348
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">1992435.7454845603</Data></Cell>
|
349
|
+
</Row>
|
350
|
+
<Row>
|
351
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7437-10-02T17:53:41.076</Data></Cell>
|
352
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2022624.7456143056</Data></Cell>
|
353
|
+
</Row>
|
354
|
+
<Row>
|
355
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7520-05-28T17:55:06.044</Data></Cell>
|
356
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2052812.7465977315</Data></Cell>
|
357
|
+
</Row>
|
358
|
+
<Row>
|
359
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7603-01-21T18:14:49.151</Data></Cell>
|
360
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2083000.7602910995</Data></Cell>
|
361
|
+
</Row>
|
362
|
+
<Row>
|
363
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7685-09-16T18:17:45.738</Data></Cell>
|
364
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2113189.7623349307</Data></Cell>
|
365
|
+
</Row>
|
366
|
+
<Row>
|
367
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7768-05-12T18:29:59.700</Data></Cell>
|
368
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2143377.7708298611</Data></Cell>
|
369
|
+
</Row>
|
370
|
+
<Row>
|
371
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7851-01-07T18:33:21.233</Data></Cell>
|
372
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2173566.773162419</Data></Cell>
|
373
|
+
</Row>
|
374
|
+
<Row>
|
375
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">7933-09-02T19:14:24.673</Data></Cell>
|
376
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2203754.8016744559</Data></Cell>
|
377
|
+
</Row>
|
378
|
+
<Row>
|
379
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8016-04-27T19:17:12.816</Data></Cell>
|
380
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2233942.8036205554</Data></Cell>
|
381
|
+
</Row>
|
382
|
+
<Row>
|
383
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8098-12-22T19:23:36.418</Data></Cell>
|
384
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2264131.8080603937</Data></Cell>
|
385
|
+
</Row>
|
386
|
+
<Row>
|
387
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8181-08-17T19:46:25.908</Data></Cell>
|
388
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2294319.8239109721</Data></Cell>
|
389
|
+
</Row>
|
390
|
+
<Row>
|
391
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8264-04-13T20:07:47.314</Data></Cell>
|
392
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2324508.8387420601</Data></Cell>
|
393
|
+
</Row>
|
394
|
+
<Row>
|
395
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8346-12-08T20:31:37.603</Data></Cell>
|
396
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2354696.855296331</Data></Cell>
|
397
|
+
</Row>
|
398
|
+
<Row>
|
399
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8429-08-03T20:39:57.770</Data></Cell>
|
400
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2384885.8610853008</Data></Cell>
|
401
|
+
</Row>
|
402
|
+
<Row>
|
403
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8512-03-29T20:50:17.067</Data></Cell>
|
404
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2415073.8682530904</Data></Cell>
|
405
|
+
</Row>
|
406
|
+
<Row>
|
407
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8594-11-22T21:02:57.827</Data></Cell>
|
408
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2445261.8770581828</Data></Cell>
|
409
|
+
</Row>
|
410
|
+
<Row>
|
411
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8677-07-19T21:23:05.519</Data></Cell>
|
412
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2475450.8910360998</Data></Cell>
|
413
|
+
</Row>
|
414
|
+
<Row>
|
415
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8760-03-14T21:34:49.572</Data></Cell>
|
416
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2505638.8991848612</Data></Cell>
|
417
|
+
</Row>
|
418
|
+
<Row>
|
419
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8842-11-08T21:39:05.944</Data></Cell>
|
420
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2535827.9021521294</Data></Cell>
|
421
|
+
</Row>
|
422
|
+
<Row>
|
423
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">8925-07-04T21:39:18.426</Data></Cell>
|
424
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2566015.9022965971</Data></Cell>
|
425
|
+
</Row>
|
426
|
+
<Row>
|
427
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9008-02-28T21:46:07.769</Data></Cell>
|
428
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2596203.9070343636</Data></Cell>
|
429
|
+
</Row>
|
430
|
+
<Row>
|
431
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9090-10-24T21:57:55.662</Data></Cell>
|
432
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2626392.9152275696</Data></Cell>
|
433
|
+
</Row>
|
434
|
+
<Row>
|
435
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9173-06-19T22:19:11.732</Data></Cell>
|
436
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2656580.9299968979</Data></Cell>
|
437
|
+
</Row>
|
438
|
+
<Row>
|
439
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9256-02-13T22:23:51.376</Data></Cell>
|
440
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2686769.9332335186</Data></Cell>
|
441
|
+
</Row>
|
442
|
+
<Row>
|
443
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9338-10-09T22:27:58.771</Data></Cell>
|
444
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2716957.9360968866</Data></Cell>
|
445
|
+
</Row>
|
446
|
+
<Row>
|
447
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9421-06-05T22:43:30.392</Data></Cell>
|
448
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2747146.9468795368</Data></Cell>
|
449
|
+
</Row>
|
450
|
+
<Row>
|
451
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9504-01-30T22:48:25.834</Data></Cell>
|
452
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2777334.9502990046</Data></Cell>
|
453
|
+
</Row>
|
454
|
+
<Row>
|
455
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9586-09-24T22:53:51.727</Data></Cell>
|
456
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2807522.9540709145</Data></Cell>
|
457
|
+
</Row>
|
458
|
+
<Row>
|
459
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9669-05-20T23:12:56.536</Data></Cell>
|
460
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2837711.9673210187</Data></Cell>
|
461
|
+
</Row>
|
462
|
+
<Row>
|
463
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9752-01-14T23:15:54.109</Data></Cell>
|
464
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2867899.9693762613</Data></Cell>
|
465
|
+
</Row>
|
466
|
+
<Row>
|
467
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9834-09-10T23:17:12.632</Data></Cell>
|
468
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2898088.9702850925</Data></Cell>
|
469
|
+
</Row>
|
470
|
+
<Row>
|
471
|
+
<Cell ss:StyleID="s21"><Data ss:Type="DateTime">9999-12-31T23:59:59.000</Data></Cell>
|
472
|
+
<Cell ss:StyleID="s22" ss:Formula="=RC[-1]"><Data ss:Type="Number">2958465.999988426</Data></Cell>
|
473
|
+
</Row>
|
474
|
+
|
475
|
+
__DATA_END__
|
476
|
+
|
477
|
+
end
|
478
|
+
|
479
|
+
end
|