Definition at line 572 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.Encoding |
( |
String |
sqlType, |
|
|
String |
pattern, |
|
|
ChronoUnit |
unit, |
|
|
LocalDateTime |
min, |
|
|
LocalDateTime |
max |
|
) |
| |
|
inline |
LocalDateTime com.mapd.tests.DateTimeTest.Encoding.clear |
( |
LocalDateTime |
d | ) |
|
|
inline |
LocalDateTime com.mapd.tests.DateTimeTest.Encoding.clearForDateAddResult |
( |
LocalDateTime |
d | ) |
|
|
inline |
boolean com.mapd.tests.DateTimeTest.Encoding.isValid |
( |
LocalDateTime |
t | ) |
|
|
inline |
String com.mapd.tests.DateTimeTest.Encoding.toSql |
( |
LocalDateTime |
d | ) |
|
|
inline |
String com.mapd.tests.DateTimeTest.Encoding.toSqlColumn |
( |
String |
prefx, |
|
|
LocalDateTime |
val |
|
) |
| |
|
inline |
Definition at line 638 of file DateTimeTest.java.
References setup.name.
639 if (null != val)
return prefx +
"_" +
name() +
" /* " +
toSql(val) +
" */";
640 return prefx +
"_" +
name();
String toSql(LocalDateTime d)
com.mapd.tests.DateTimeTest.Encoding.DATE |
Initial value:=("DATE",
"'DATE' ''yyyy-MM-dd''",
ChronoUnit.DAYS,
LocalDateTime.ofEpochSecond(0, 0, ZoneOffset.UTC).plusDays(-2147483648L),
LocalDateTime.ofEpochSecond(0, 0, ZoneOffset.UTC).plusDays(2147483647L))
Definition at line 603 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.DATE_DAYS_16 |
Initial value:=("DATE ENCODING DAYS(16)",
"'DATE' ''yyyy-MM-dd''",
ChronoUnit.DAYS,
LocalDateTime.ofEpochSecond(0, 0, ZoneOffset.UTC)
.plusDays(Short.MIN_VALUE + 1),
LocalDateTime.ofEpochSecond(0, 0, ZoneOffset.UTC).plusDays(Short.MAX_VALUE))
Definition at line 608 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.DATE_DAYS_32 |
Initial value:=("DATE ENCODING DAYS(32)",
"'DATE' ''yyyy-MM-dd''",
ChronoUnit.DAYS,
LocalDateTime.ofEpochSecond(0, 0, ZoneOffset.UTC).plusDays(-2147483648L),
LocalDateTime.ofEpochSecond(0, 0, ZoneOffset.UTC).plusDays(2147483647L))
Definition at line 614 of file DateTimeTest.java.
DateTimeFormatter com.mapd.tests.DateTimeTest.Encoding.formatter |
LocalDateTime com.mapd.tests.DateTimeTest.Encoding.max |
LocalDateTime com.mapd.tests.DateTimeTest.Encoding.min |
String com.mapd.tests.DateTimeTest.Encoding.sqlType |
com.mapd.tests.DateTimeTest.Encoding.TIMESTAMP |
Initial value:=("TIMESTAMP",
"'TIMESTAMP' ''yyyy-MM-dd HH:mm:ss''",
ChronoUnit.SECONDS,
LocalDateTime.ofEpochSecond(-30610224000L, 0, ZoneOffset.UTC),
LocalDateTime.ofEpochSecond(29379542399L, 0, ZoneOffset.UTC))
Definition at line 573 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.TIMESTAMP_0 |
Initial value:=("TIMESTAMP(0)",
"'TIMESTAMP(0)' ''yyyy-MM-dd HH:mm:ss''",
ChronoUnit.SECONDS,
LocalDateTime.ofEpochSecond(-30610224000L, 0, ZoneOffset.UTC),
LocalDateTime.ofEpochSecond(29379542399L, 0, ZoneOffset.UTC))
Definition at line 578 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.TIMESTAMP_3 |
Initial value:=("TIMESTAMP(3)",
"'TIMESTAMP(3)' ''yyyy-MM-dd HH:mm:ss.SSS''",
ChronoUnit.MILLIS,
LocalDateTime.ofEpochSecond(-30610224000L, 0, ZoneOffset.UTC),
LocalDateTime.ofEpochSecond(29379542399L, 0, ZoneOffset.UTC))
Definition at line 583 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.TIMESTAMP_6 |
Initial value:=("TIMESTAMP(6)",
"'TIMESTAMP(6)' ''yyyy-MM-dd HH:mm:ss.SSSSSS''",
ChronoUnit.MICROS,
LocalDateTime.ofEpochSecond(-30610224000L, 0, ZoneOffset.UTC),
LocalDateTime.ofEpochSecond(29379542399L, 0, ZoneOffset.UTC))
Definition at line 588 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.TIMESTAMP_9 |
Initial value:=("TIMESTAMP(9)",
"'TIMESTAMP(9)' ''yyyy-MM-dd HH:mm:ss.SSSSSSSSS''",
ChronoUnit.NANOS,
LocalDateTime.ofEpochSecond(-9223372036L, 0, ZoneOffset.UTC),
LocalDateTime.ofEpochSecond(9223372036L, 0, ZoneOffset.UTC))
Definition at line 593 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.Encoding.TIMESTAMP_FIXED_32 |
Initial value:=("TIMESTAMP ENCODING FIXED(32)",
"'TIMESTAMP' ''yyyy-MM-dd HH:mm:ss''",
ChronoUnit.SECONDS,
LocalDateTime.ofEpochSecond(Integer.MIN_VALUE + 1, 0, ZoneOffset.UTC),
LocalDateTime.ofEpochSecond(
Integer.MAX_VALUE, 0, ZoneOffset.UTC))
Definition at line 598 of file DateTimeTest.java.
ChronoUnit com.mapd.tests.DateTimeTest.Encoding.toClear |
The documentation for this enum was generated from the following file:
- /home/jenkins-slave/workspace/core-os-doxygen/java/utility/src/main/java/com/mapd/tests/DateTimeTest.java