Uses of Class
jsonvalues.spec.InstantSchema
Packages that use InstantSchema
Package
Description
The `jsonvalues.spec` package provides classes and interfaces for defining and working with JSON specifications
(specs) and parsers.
-
Uses of InstantSchema in jsonvalues.spec
Methods in jsonvalues.spec that return InstantSchemaModifier and TypeMethodDescriptionstatic InstantSchemaCreates an InstantSchema with both minimum and maximum constraints.static InstantSchemaInstantSchema.withMaximum(Instant maximum) Creates an InstantSchema with a maximum constraint.static InstantSchemaInstantSchema.withMinimum(Instant minimum) Creates an InstantSchema with a minimum constraint.Methods in jsonvalues.spec with parameters of type InstantSchemaModifier and TypeMethodDescriptionstatic JsSpecJsSpecs.instant(InstantSchema schema) Returns a specification for a non-nullable JSON instant that satisfies the given schema.static JsSpecJsSpecs.mapOfInstant(InstantSchema instantSchema) Returns a specification that validates that the JSON is an object, and the value of each key is an instant that satifies the given schema.