Uses of Class
org.apache.flink.table.utils.DateTimeUtils.TimeUnitRange
-
Packages that use DateTimeUtils.TimeUnitRange Package Description org.apache.flink.table.utils -
-
Uses of DateTimeUtils.TimeUnitRange in org.apache.flink.table.utils
Methods in org.apache.flink.table.utils that return DateTimeUtils.TimeUnitRange Modifier and Type Method Description static DateTimeUtils.TimeUnitRange
DateTimeUtils.TimeUnitRange. of(DateTimeUtils.TimeUnit startUnit, DateTimeUtils.TimeUnit endUnit)
Returns aTimeUnitRange
with a given start and end unit.static DateTimeUtils.TimeUnitRange
DateTimeUtils.TimeUnitRange. valueOf(String name)
Returns the enum constant of this type with the specified name.static DateTimeUtils.TimeUnitRange[]
DateTimeUtils.TimeUnitRange. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.flink.table.utils with parameters of type DateTimeUtils.TimeUnitRange Modifier and Type Method Description static long
DateTimeUtils. extractFromDate(DateTimeUtils.TimeUnitRange range, int date)
static long
DateTimeUtils. extractFromDate(DateTimeUtils.TimeUnitRange range, long date)
static long
DateTimeUtils. extractFromTimestamp(DateTimeUtils.TimeUnitRange range, TimestampData ts, TimeZone tz)
static long
DateTimeUtils. timestampCeil(DateTimeUtils.TimeUnitRange range, long ts, TimeZone tz)
Keep the algorithm consistent with Calcite DateTimeUtils.julianDateFloor, but here we take time zone into account.static long
DateTimeUtils. timestampFloor(DateTimeUtils.TimeUnitRange range, long ts, TimeZone tz)
static long
DateTimeUtils. unixDateCeil(DateTimeUtils.TimeUnitRange range, long date)
static long
DateTimeUtils. unixDateFloor(DateTimeUtils.TimeUnitRange range, long date)
static long
DateTimeUtils. unixTimestampCeil(DateTimeUtils.TimeUnitRange range, long timestamp)
static long
DateTimeUtils. unixTimestampFloor(DateTimeUtils.TimeUnitRange range, long timestamp)
-