Class GraphQLScalarTypeDateTime
java.lang.Object
graphql.schema.GraphQLScalarType
com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime
- All Implemented Interfaces:
graphql.schema.GraphQLDirectiveContainer,graphql.schema.GraphQLInputType,graphql.schema.GraphQLNullableType,graphql.schema.GraphQLOutputType,graphql.schema.GraphQLType,graphql.schema.GraphQLUnmodifiedType
public class GraphQLScalarTypeDateTime
extends graphql.schema.GraphQLScalarType
A proposed DateTime scalar, that stores dates in String, formatted as: 2019-07-03T20:47:55Z
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
This Scalar is proposed to be used, for integration testing (checks that the plugin correctly manages Custom Scalars, see samples) and with more documentation to help people to create their own Custom Scalar implementations.
- Author:
- EtienneSF
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description GraphQLScalarTypeDateTime()As the constructors for theGraphQLScalarTypeare marked as deprecated, the way to create Custom Scalars may change in the future. -
Method Summary
Methods inherited from class graphql.schema.GraphQLScalarType
accept, getChildren, getCoercing, getDefinition, getDescription, getDirectives, getName, newScalar, newScalar, toString, transform
-
Constructor Details
-
GraphQLScalarTypeDateTime
public GraphQLScalarTypeDateTime()As the constructors for theGraphQLScalarTypeare marked as deprecated, the way to create Custom Scalars may change in the future. So this constructor can only be used by theCustomScalars, that works as a singleton factory- Parameters:
name-description-coercing-- See Also:
GraphQLScalarType(String, String, Coercing)
-