enso/test/Table_Tests/data
Hubert Plociniczak d87a32d019
Builtin Date_Time, Time_Of_Day, Zone (#3658)
* Builtin Date_Time, Time_Of_Day, Zone

Improved polyglot support for Date_Time (formerly Time), Time_Of_Day and
Zone. This follows the pattern introduced for Enso Date.

Minor caveat - in tests for Date, had to bend a lot for JS Date to pass.
This is because JS Date is not really only a Date, but also a Time and
Timezone, previously we just didn't consider the latter.
Also, JS Date does not deal well with setting timezones so the trick I
used is to first call foreign function returning a polyglot JS Date,
which is converted to ZonedDateTime and only then set the correct
timezone. That way none of the existing tests had to be changes or
special cased.

Additionally, JS deals with milliseconds rather than nanoseconds so
there is loss in precision, as noted in Time_Spec.

* Add tests for Java's LocalTime

* changelog

* Make date formatters in table happy

* PR review, add more tests for zone

* More tests and fixed a bug in column reader

Column reader didn't take into account timezone but that was a mistake
since then it wouldn't map to Enso's Date_Time.
Added tests that check it now.

* remove redundant conversion

* Update distribution/lib/Standard/Base/0.0.0-dev/src/Data/Time.enso

Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>

* First round of addressing PR review

* don't leak java exceptions in Zone

* Move Date_Time to top-level module

* PR review

Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
Co-authored-by: Jaroslav Tulach <jaroslav.tulach@enso.org>
2022-08-24 12:31:29 +02:00
..
transient Docker file for testing Postgres SSL and updated Postgres Spec (#3607) 2022-07-26 13:28:43 +00:00
.gitignore Add appending support for Delimited files (#3573) 2022-07-11 12:36:01 +00:00
all_text.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
clothes.csv Sorting Tables (#1471) 2021-02-11 16:50:07 +01:00
comments.csv Add new options to the Delimited format (#3581) 2022-07-14 15:01:26 +00:00
data_small.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
data.csv Remove obsolete Csv reading module (#3482) 2022-05-28 10:01:14 +00:00
datetime_sample.csv Builtin Date_Time, Time_Of_Day, Zone (#3658) 2022-08-24 12:31:29 +02:00
double_quoted.csv Integrate value parsing with Delimited file reading (#3463) 2022-05-24 17:59:00 +02:00
duplicated_columns.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
empty.txt Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
escape_quoted.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
many_invalid_rows.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
mismatched_quote2.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
mismatched_quote.csv Integrate value parsing with Delimited file reading (#3463) 2022-05-24 17:59:00 +02:00
missing_header.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
multiline_quoted.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
no_quoting.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
numbers_in_header.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
one_row.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
pgpass.conf Add support for .pgpass to PostgreSQL (#3593) 2022-07-21 13:32:37 +00:00
prime_ministers.csv Improved polyglot Date support (#3559) 2022-07-21 06:32:40 +00:00
quoted_numbers_in_header.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
RangeTests.xlsx Update Excel reading API (#3523) 2022-06-21 13:39:32 +00:00
sample.tsv Integrate value parsing with Delimited file reading (#3463) 2022-05-24 17:59:00 +02:00
sample.txt Restructuring for File.read (#3390) 2022-04-19 16:50:03 +00:00
sample.xxx Restructuring for File.read (#3390) 2022-04-19 16:50:03 +00:00
simple_empty.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
TestSheet.xlsx Additional tests for Excel Append (#3580) 2022-07-13 13:02:39 +00:00
TestSheetOld.xls Additional tests for Excel Append (#3580) 2022-07-13 13:02:39 +00:00
time_of_day_sample.csv Builtin Date_Time, Time_Of_Day, Zone (#3658) 2022-08-24 12:31:29 +02:00
two_rows1.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
two_rows2.csv The user should be able to have the headers Inferred when reading a Delimited file (#3472) 2022-05-25 13:29:17 +00:00
utf16_invalid.csv Delimited File Encoding (#3430) 2022-05-10 22:44:05 +00:00
utf16.csv Delimited File Encoding (#3430) 2022-05-10 22:44:05 +00:00
varied_column.csv Simple CSV parser (#1268) 2020-11-05 16:53:50 +01:00
varying_rows.csv Improve support for reading Delimited files (#3424) 2022-04-29 17:12:19 +00:00
windows.csv Delimited File Encoding (#3430) 2022-05-10 22:44:05 +00:00
windows.log Restructuring for File.read (#3390) 2022-04-19 16:50:03 +00:00