public class DateType extends DataType
Please use the singleton DataTypes.DateType
.
Internally, this is represented as the number of days from epoch (1970-01-01 00:00:00 UTC).
Modifier and Type | Method and Description |
---|---|
scala.reflect.ClassTag<java.lang.Object> |
classTag() |
int |
defaultSize()
The default size of a value of the DateType is 4 bytes.
|
scala.math.Ordering<java.lang.Object> |
ordering() |
scala.reflect.api.TypeTags.TypeTag<java.lang.Object> |
tag() |
buildFormattedString, fromCaseClassString, fromJson, json, prettyJson, simpleString, typeName
public scala.reflect.api.TypeTags.TypeTag<java.lang.Object> tag()
public scala.math.Ordering<java.lang.Object> ordering()
public int defaultSize()
defaultSize
in class DataType
public scala.reflect.ClassTag<java.lang.Object> classTag()