Definition at line 451 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.DateAddUnit |
( |
String |
token, |
|
|
long |
max, |
|
|
Function< Pair< LocalDateTime, Long >, LocalDateTime > |
f |
|
) |
| |
|
inlineprivate |
Definition at line 545 of file DateTimeTest.java.
References f().
548 this.sqlToken = token;
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)
Function<Pair<LocalDateTime, Long>, LocalDateTime> com.mapd.tests.DateTimeTest.DateAddUnit.add |
|
private |
com.mapd.tests.DateTimeTest.DateAddUnit.daDAY |
Initial value:
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.DAYS);
}
})
Definition at line 470 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daHOUR |
Initial value:
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.HOURS);
}
})
Definition at line 476 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daMICROSECOND |
Initial value:=("MICROSECOND",
12 * 30 * 24 * 60 * 60 * 1000 * 1000,
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.MICROS);
}
})
Definition at line 505 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daMILLISECOND |
Initial value:=("MILLISECOND",
12 * 30 * 24 * 60 * 60 * 1000L,
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.MILLIS);
}
})
Definition at line 497 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daMINUTE |
Initial value:
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.MINUTES);
}
})
Definition at line 482 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daMONTH |
Initial value:
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.MONTHS);
}
})
Definition at line 464 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daNANOSECOND |
Initial value:=("NANOSECOND",
12 * 30 * 24 * 60 * 60 * 1000 * 1000 * 1000,
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.NANOS);
}
})
Definition at line 513 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daQUARTER |
Initial value:=(
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond() * 3, ChronoUnit.MONTHS);
}
})
Definition at line 457 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daSECOND |
Initial value:
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.SECONDS);
}
})
Definition at line 488 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daWEEK |
Initial value:
@Override
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.WEEKS);
}
})
Definition at line 521 of file DateTimeTest.java.
com.mapd.tests.DateTimeTest.DateAddUnit.daYEAR |
Initial value:
public LocalDateTime apply(Pair<LocalDateTime, Long> t) {
return t.getFirst().plus(t.getSecond(), ChronoUnit.YEARS);
}
})
Definition at line 452 of file DateTimeTest.java.
long com.mapd.tests.DateTimeTest.DateAddUnit.max |
|
private |
String com.mapd.tests.DateTimeTest.DateAddUnit.sqlToken |
|
private |
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