Package dev.frostlake.types
Class DateTimeType
java.lang.Object
dev.frostlake.types.DataType
dev.frostlake.types.DateTimeType
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic DateTimeTypestatic DateTimeTypestatic DateTimeTypestatic DateTimeTypestatic DateTimeTypestatic DateTimeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatValue(Object value) getCommonType(DataType other) intintgetSize()booleanbooleanisCompatible(DataType other) parseValue(String value)
-
Field Details
-
DATE
-
TIME
-
DATETIME
-
TIMESTAMP_NTZ
-
TIMESTAMP_LTZ
-
TIMESTAMP_TZ
-
-
Constructor Details
-
DateTimeType
-
-
Method Details
-
getPrecision
public int getPrecision() -
hasTimeZone
public boolean hasTimeZone() -
parseValue
- Specified by:
parseValuein classDataType
-
formatValue
- Specified by:
formatValuein classDataType
-
isCompatible
- Specified by:
isCompatiblein classDataType
-
getCommonType
- Specified by:
getCommonTypein classDataType
-
getSize
public int getSize()
-