public class DateTimeType extends LiquibaseDataType
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
DateTimeType() |
Modifier and Type | Method and Description |
---|---|
protected DateFormat |
getDateTimeFormat(Database database) |
protected boolean |
isMinimumVersion(String minimumVersion,
int major,
int minor,
int patch) |
String |
objectToSql(Object value,
Database database)
Returns the value object in a format to include in SQL.
|
Object |
sqlToObject(String value,
Database database) |
protected boolean |
supportsFractionalDigits(Database database) |
DatabaseDataType |
toDatabaseDataType(Database database) |
addParameter, equals, finishInitialization, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, hashCode, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, supports, toString, validate
public DatabaseDataType toDatabaseDataType(Database database)
toDatabaseDataType
in class LiquibaseDataType
protected boolean supportsFractionalDigits(Database database)
protected boolean isMinimumVersion(String minimumVersion, int major, int minor, int patch)
public String objectToSql(Object value, Database database)
LiquibaseDataType
objectToSql
in class LiquibaseDataType
public Object sqlToObject(String value, Database database)
sqlToObject
in class LiquibaseDataType
protected DateFormat getDateTimeFormat(Database database)
Copyright © 2015 Liquibase.org. All rights reserved.