Class GraphQLScalarTypeDateTime

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

public class GraphQLScalarTypeDateTime
extends java.lang.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 Summary

    Fields 
    Modifier and Type Field Description
    static graphql.schema.GraphQLScalarType DateTime
    Custom Scalar for DateTime management.
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphQLScalarTypeDateTime()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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