Class DateCoercing

  • All Implemented Interfaces:
    graphql.schema.Coercing

    public class DateCoercing
    extends Object
    implements graphql.schema.Coercing
    The Coercing used by dates
    Author:
    Phillip Kruger ([email protected])
    • Constructor Detail

      • DateCoercing

        public DateCoercing​(String name,
                            Class... supportedTypes)
    • Method Detail

      • serialize

        public Object serialize​(Object input)
        Specified by:
        serialize in interface graphql.schema.Coercing
      • parseValue

        public Object parseValue​(Object input)
        Specified by:
        parseValue in interface graphql.schema.Coercing
      • parseLiteral

        public Object parseLiteral​(Object input)
        Specified by:
        parseLiteral in interface graphql.schema.Coercing