OpenSearch/client
Alexander Reelsen b94acb608b
Speed up converting of temporal accessor to zoned date time (#37915)
The existing implementation was slow due to exceptions being thrown if
an accessor did not have a time zone. This implementation queries for
having a timezone, local time and local date and also checks for an
instant preventing to throw an exception and thus speeding up the conversion.

This removes the existing method and create a new one named
DateFormatters.from(TemporalAccessor accessor) to resemble the naming of
the java time ones.

Before this change an epoch millis parser using the toZonedDateTime
method took approximately 50x longer.

Relates #37826
2019-01-31 08:55:40 +01:00
..
benchmark Converting randomized testing to create a separate unitTest task instead of replacing the builtin test task (#36311) 2018-12-19 08:25:20 +02:00
client-benchmark-noop-api-plugin Type removal - added deprecation warnings to _bulk apis (#36549) 2019-01-10 21:35:19 +00:00
rest Update httpclient for JDK 11 TLS engine (#37994) 2019-01-30 14:24:29 -07:00
rest-high-level Speed up converting of temporal accessor to zoned date time (#37915) 2019-01-31 08:55:40 +01:00
sniffer Update httpclient for JDK 11 TLS engine (#37994) 2019-01-30 14:24:29 -07:00
test Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00
transport Testing conventions now checks for tests in main (#37321) 2019-01-24 17:30:50 +02:00