Annotation Interface DateString
@Retention(RUNTIME)
@Target(FIELD)
@Inherited
@ConvertWith(converterFactory=org.springframework.data.neo4j.core.support.DateStringConverterFactory.class)
@API(status=STABLE,
since="6.0")
public @interface DateString
- Since:
- 6.0
- Author:
- Michael J. Simons
-
Field Details
-
ISO_8601
Pattern conforming to an ISO 8601 date time string (without timezone).- See Also:
-
DEFAULT_ZONE_ID
-
-
Element Details
-
value
-
format
-
zoneId
String zoneIdSome temporals likeInstant, representing an instantaneous point in time cannot be formatted with a givenZoneId. In case you want to format an instant or similar with a default pattern, we assume a zone with the given id and default to UTC which is the same assumption that the predefined patterns inDateTimeFormattertake.- Returns:
- The zone id to use when applying a custom pattern to an instant temporal.
- Default:
"UTC"
-