Package smile.data.type
Class DateTimeType
java.lang.Object
smile.data.type.DateTimeType
- All Implemented Interfaces:
Serializable
,DataType
DateTime data type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface smile.data.type.DataType
DataType.ID
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DateTimeType
Constructor.- Parameters:
pattern
- Patterns for formatting and parsing. Patterns are based on a simple sequence of letters and symbols. For example, "d MMM uuuu" will format 2011-12-03 as '3 Dec 2011'.
-
-
Method Details
-
name
Description copied from interface:DataType
Returns the type name used in external catalogs. DataType.of(name()) should return the same type. -
id
Description copied from interface:DataType
Returns the type ID enum. -
toString
-
toString
Description copied from interface:DataType
Returns the string representation of a value of the type. -
valueOf
Description copied from interface:DataType
Returns the value from its string representation. -
equals
-