| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| public static final int | PRECISION
The default precision and display size of the textual representation of a date. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTypeSafe(Value
the other value o, CompareMode the compare mode mode, CastDataProvider the cast information provider provider)Implements abstract org. Compare this value against another value given that the values are of the same data type. |
| public boolean | equals(Object
the other value other)Implements abstract org. Check if the two values have the same hash code. |
| public static ValueDate | Returns: the valuethe date value dateValue)Get or create a date value for the given date. |
| public long | |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public int | |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| public static ValueDate |
| dateValue | back to summary |
|---|---|
| private final long dateValue | |
| PRECISION | back to summary |
|---|---|
| public static final int PRECISION The default precision and display size of the textual representation of a date. Example: 2000-01-02 | |
| ValueDate | back to summary |
|---|---|
| private ValueDate(long dateValue) | |
| compareTypeSafe | back to summary |
|---|---|
| public int compareTypeSafe(Value o, CompareMode mode, CastDataProvider provider) Implements abstract org. Doc from org. Compare this value against another value given that the values are of the same data type.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Check if the two values have the same hash code. No data conversion is made; this method returns false if the other object is not of the same class. For some values, compareTo may return 0 even if equals return false. Example: ValueDecimal 0.0 and 0.00. | |
| fromDateValue | back to summary |
|---|---|
| public static ValueDate fromDateValue(long dateValue) Get or create a date value for the given date.
| |
| getDateValue | back to summary |
|---|---|
| public long getDateValue() | |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| public static ValueDate parse(String s) Parse a string to a ValueDate. | |