Class RFC2822DateTimeFormatter
- java.lang.Object
-
- io.trino.plugin.kafka.encoder.json.format.RFC2822DateTimeFormatter
-
- All Implemented Interfaces:
JsonDateTimeFormatter
public class RFC2822DateTimeFormatter extends Object implements JsonDateTimeFormatter
-
-
Constructor Summary
Constructors Constructor Description RFC2822DateTimeFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringformatTimestamp(SqlTimestamp value)StringformatTimestampWithZone(SqlTimestampWithTimeZone value)static booleanisSupportedType(Type type)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.plugin.kafka.encoder.json.format.JsonDateTimeFormatter
formatDate, formatTime, formatTimeWithZone
-
-
-
-
Method Detail
-
isSupportedType
public static boolean isSupportedType(Type type)
-
formatTimestamp
public String formatTimestamp(SqlTimestamp value)
- Specified by:
formatTimestampin interfaceJsonDateTimeFormatter
-
formatTimestampWithZone
public String formatTimestampWithZone(SqlTimestampWithTimeZone value)
- Specified by:
formatTimestampWithZonein interfaceJsonDateTimeFormatter
-
-