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
- See Also:
-
DEFAULT_ZONE_ID
- See Also:
-
-
Element Details
-
value
- Default:
- "yyyy-MM-dd\'T\'HH:mm:ss.SSSXXX"
-
format
- Default:
- "yyyy-MM-dd\'T\'HH:mm:ss.SSSXXX"
-
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 inDateTimeFormatter
take.- Returns:
- The zone id to use when applying a custom pattern to an instant temporal.
- Default:
- "UTC"
-