public class GlitrScalars
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static graphql.schema.GraphQLScalarType |
GraphQLDate
GraphQLDate represents a date as `2014-08-20` without any timezone information. |
static graphql.schema.GraphQLScalarType |
GraphQLDateTime
GraphQLDateTime represents a date time as `2014-08-20T18:00:00.000Z`
ISO-8601 compliant and in UTC |
| Constructor and Description |
|---|
GlitrScalars() |
public static final graphql.schema.GraphQLScalarType GraphQLDateTime
GraphQLDateTime represents a date time as `2014-08-20T18:00:00.000Z`
ISO-8601 compliant and in UTCpublic static final graphql.schema.GraphQLScalarType GraphQLDate
GraphQLDate represents a date as `2014-08-20` without any timezone information.
This template can be used only for description of date but can't be represented as an instant on the time-line.
A birth date is the perfect use case.