Package openGql.grammar
Class DatetimeType
- java.lang.Object
-
- openGql.grammar.DatetimeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DatetimeType>
- Direct Known Subclasses:
DatetimeType.TimestampWithTimeZone,DatetimeType.ZonedDatetime
public abstract class DatetimeType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DatetimeType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatetimeType.PartialVisitor<R>Partial visitor overDatetimeTypewith a defaultDatetimeType.PartialVisitor.otherwise(openGql.grammar.DatetimeType)branch.static classDatetimeType.TimestampWithTimeZonestatic interfaceDatetimeType.Visitor<R>Visitor overDatetimeType.static classDatetimeType.ZonedDatetime
-
Field Summary
Fields Modifier and Type Field Description static NameTIMESTAMP_WITH_TIME_ZONEName of theopenGql.grammar.DatetimeType.timestampWithTimeZonefield.static NameTYPE_Name of theopenGql.grammar.DatetimeTypetype.static NameZONED_DATETIMEName of theopenGql.grammar.DatetimeType.zonedDatetimefield.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(DatetimeType.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.DatetimeTypetype.
-
ZONED_DATETIME
public static final Name ZONED_DATETIME
Name of theopenGql.grammar.DatetimeType.zonedDatetimefield.
-
TIMESTAMP_WITH_TIME_ZONE
public static final Name TIMESTAMP_WITH_TIME_ZONE
Name of theopenGql.grammar.DatetimeType.timestampWithTimeZonefield.
-
-
Method Detail
-
accept
public abstract <R> R accept(DatetimeType.Visitor<R> visitor)
Dispatch tovisitor.
-
-