OpenSearch/x-pack/plugin/core
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
..
licenses Update httpclient for JDK 11 TLS engine (#37994) 2019-01-30 14:24:29 -07:00
src Speed up converting of temporal accessor to zoned date time (#37915) 2019-01-31 08:55:40 +01:00
build.gradle Split third party audit exclusions by type (#36763) 2019-01-07 17:24:19 +02:00
snapshot.key Make licensing FIPS-140 compliant (#30251) 2018-05-02 22:19:43 +03:00