public static class DataType.ARXDate extends DataType<java.util.Date> implements DataType.DataTypeWithFormat, DataType.DataTypeWithRatioScale<java.util.Date>
DataType.ARXDate, DataType.ARXDecimal, DataType.ARXInteger, DataType.ARXOrderedString, DataType.ARXString, DataType.DataTypeDescription<T>, DataType.DataTypeWithFormat, DataType.DataTypeWithRatioScale<T>
ANY_VALUE, DATE, DECIMAL, INTEGER, NULL_VALUE, ORDERED_STRING, STRING
Modifier and Type | Method and Description |
---|---|
java.util.Date |
add(java.util.Date augend,
java.util.Date addend)
Add
|
DataType<java.util.Date> |
clone() |
int |
compare(java.util.Date t1,
java.util.Date t2)
Compare.
|
int |
compare(java.lang.String s1,
java.lang.String s2)
Compares two values.
|
java.util.Date |
divide(java.util.Date dividend,
java.util.Date divisor)
Divide
|
java.lang.String |
divide(java.lang.String dividend,
java.lang.String divisor)
Divide
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
format(java.util.Date s)
Converts a value into a string.
|
java.lang.String |
format(java.util.Date s,
java.util.TimeZone zone)
Format with timezone
|
java.util.Date |
fromDouble(java.lang.Double d)
Converts a double into a value.
|
DataType.DataTypeDescription<java.util.Date> |
getDescription()
Returns a description of the data type.
|
java.lang.String |
getFormat()
Format
|
java.util.Locale |
getLocale()
Returns the locale of the format.
|
java.util.Date |
getMaximum()
Maximum
|
java.util.Date |
getMinimum()
Minimum
|
int |
hashCode() |
boolean |
isValid(java.lang.String s)
Checks whether the given string conforms to the data type's format.
|
java.util.Date |
multiply(java.util.Date multiplicand,
java.util.Date multiplicator)
Multiply
|
java.util.Date |
multiply(java.util.Date multiplicand,
double multiplicator)
Multiply
|
java.util.Date |
multiply(java.util.Date multiplicand,
int multiplicator)
Multiply
|
java.lang.String |
multiply(java.lang.String multiplicand,
java.lang.String multiplicator)
Multiply
|
java.util.Date |
parse(java.lang.String s)
Converts a string into a value.
|
double |
ratio(java.util.Date dividend,
java.util.Date divisor)
Divide
|
java.util.Date |
subtract(java.util.Date minuend,
java.util.Date subtrahend)
Subtract
|
java.lang.Double |
toDouble(java.util.Date date)
Converts a double into a value.
|
java.lang.String |
toString() |
createAggregate, createDate, createDate, createDecimal, createDecimal, createInteger, createInteger, createOrderedString, createOrderedString, createOrderedString, isAny, isNull, list, list
public java.util.Date add(java.util.Date augend, java.util.Date addend)
DataType.DataTypeWithRatioScale
add
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public int compare(java.util.Date t1, java.util.Date t2)
DataType
compare
in interface java.util.Comparator<java.util.Date>
compare
in interface DataType.DataTypeWithRatioScale<java.util.Date>
compare
in class DataType<java.util.Date>
public int compare(java.lang.String s1, java.lang.String s2) throws java.text.ParseException
DataType
compare
in interface DataType.DataTypeWithRatioScale<java.util.Date>
compare
in class DataType<java.util.Date>
java.text.ParseException
public java.util.Date divide(java.util.Date dividend, java.util.Date divisor)
DataType.DataTypeWithRatioScale
divide
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.lang.String divide(java.lang.String dividend, java.lang.String divisor)
DataType.DataTypeWithRatioScale
divide
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public boolean equals(java.lang.Object obj)
public java.lang.String format(java.util.Date s)
DataType
format
in interface DataType.DataTypeWithRatioScale<java.util.Date>
format
in class DataType<java.util.Date>
public java.lang.String format(java.util.Date s, java.util.TimeZone zone)
public java.util.Date fromDouble(java.lang.Double d)
DataType.DataTypeWithRatioScale
fromDouble
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public DataType.DataTypeDescription<java.util.Date> getDescription()
DataType
getDescription
in interface DataType.DataTypeWithRatioScale<java.util.Date>
getDescription
in class DataType<java.util.Date>
public java.lang.String getFormat()
DataType.DataTypeWithFormat
getFormat
in interface DataType.DataTypeWithFormat
public java.util.Locale getLocale()
getLocale
in interface DataType.DataTypeWithFormat
public java.util.Date getMaximum()
DataType.DataTypeWithRatioScale
getMaximum
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.util.Date getMinimum()
DataType.DataTypeWithRatioScale
getMinimum
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public boolean isValid(java.lang.String s)
DataType
isValid
in interface DataType.DataTypeWithRatioScale<java.util.Date>
isValid
in class DataType<java.util.Date>
public java.util.Date multiply(java.util.Date multiplicand, java.util.Date multiplicator)
DataType.DataTypeWithRatioScale
multiply
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.util.Date multiply(java.util.Date multiplicand, double multiplicator)
DataType.DataTypeWithRatioScale
multiply
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.util.Date multiply(java.util.Date multiplicand, int multiplicator)
DataType.DataTypeWithRatioScale
multiply
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.lang.String multiply(java.lang.String multiplicand, java.lang.String multiplicator)
DataType.DataTypeWithRatioScale
multiply
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.util.Date parse(java.lang.String s)
DataType
parse
in interface DataType.DataTypeWithRatioScale<java.util.Date>
parse
in class DataType<java.util.Date>
public double ratio(java.util.Date dividend, java.util.Date divisor)
DataType.DataTypeWithRatioScale
ratio
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.util.Date subtract(java.util.Date minuend, java.util.Date subtrahend)
DataType.DataTypeWithRatioScale
subtract
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.lang.Double toDouble(java.util.Date date)
DataType.DataTypeWithRatioScale
toDouble
in interface DataType.DataTypeWithRatioScale<java.util.Date>
public java.lang.String toString()
toString
in class java.lang.Object