Class GraphQLScalarTypeDateTime

java.lang.Object
com.graphql_java_generator.customscalars.GraphQLScalarTypeDateTime

public class GraphQLScalarTypeDateTime extends Object
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.
Author:
etienne-sf
  • Field Details

    • DateTime

      public static graphql.schema.GraphQLScalarType DateTime
      Custom Scalar for DateTime management. It serializes datetimes in String, formatted as: yyyy-MM-dd'T'HH:mm:ss'Z'
  • Constructor Details

    • GraphQLScalarTypeDateTime

      public GraphQLScalarTypeDateTime()