Class OffsetDateTimeFormat
java.lang.Object
com.networknt.schema.format.BaseFormat
com.networknt.schema.format.AbstractFormat
ai.timefold.solver.service.json.api.schema.OffsetDateTimeFormat
- All Implemented Interfaces:
com.networknt.schema.Format
public class OffsetDateTimeFormat
extends com.networknt.schema.format.AbstractFormat
This Format implementation verifies the OffsetDateTime (with offset) value.
The Schema needs to specify the standard format
"date-time".
The motivation is to refer to ISO-8601 format in the error message, as the standard format refers to RFC 3339.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.networknt.schema.format.AbstractFormat
matchesMethods inherited from class com.networknt.schema.format.BaseFormat
getErrorMessageDescription, getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.schema.Format
getMessageKey, matches, matches, matches, validate
-
Field Details
-
FORMAT
- See Also:
-
-
Constructor Details
-
OffsetDateTimeFormat
public OffsetDateTimeFormat()
-
-
Method Details
-
matches
- Specified by:
matchesin classcom.networknt.schema.format.AbstractFormat
-