public static interface SetWindowFieldsOperation.WindowUnit
SetWindowFieldsOperation.Window.| Modifier and Type | Method and Description |
|---|---|
static SetWindowFieldsOperation.WindowUnit |
from(ChronoUnit chronoUnit)
Converts the given chrono unit into a
SetWindowFieldsOperation.WindowUnit. |
static SetWindowFieldsOperation.WindowUnit |
from(TimeUnit timeUnit)
Converts the given time unit into a
SetWindowFieldsOperation.WindowUnit. |
String |
name() |
String name()
static SetWindowFieldsOperation.WindowUnit from(TimeUnit timeUnit)
SetWindowFieldsOperation.WindowUnit. Supported units are: days, hours, minutes, seconds, and
milliseconds.timeUnit - the time unit to convert, must not be null.IllegalArgumentException - if the TimeUnit is null or not supported for conversion.static SetWindowFieldsOperation.WindowUnit from(ChronoUnit chronoUnit)
SetWindowFieldsOperation.WindowUnit. Supported units are: years, weeks, months, days, hours,
minutes, seconds, and millis.chronoUnit - the chrono unit to convert, must not be null.IllegalArgumentException - if the TimeUnit is null or not supported for conversion.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.