public class ElasticsearchInstantBridge extends ElasticsearchTemporalAccessorStringBridge<java.time.Instant>
Instant to a String in ISO-8601 extended format (9 digits for the year instead of 4).
The formatting is done using the UTC timezone.
Be aware that this format is not the same as DateTimeFormatter.ISO_INSTANT
(mainly because of the second fraction field, which is at least 3 characters long), nor as Elasticsearch's
"strict_date_optional_time" format (since years with more than 4 digits are allowed).
| Modifier and Type | Field and Description |
|---|---|
static ElasticsearchInstantBridge |
INSTANCE |
objectToString, stringToObjectpublic static final ElasticsearchInstantBridge INSTANCE
Copyright © 2006–2016 Hibernate. All rights reserved.