public class UtilsKt
| Modifier and Type | Method and Description |
|---|---|
static void |
closeQuietly(java.io.Closeable $receiver)
Closes this quietly - if Closeable.close fails, an INFO message is logged. The exception is not
rethrown.
|
static java.util.List<java.lang.String> |
filterNotBlank(java.lang.Iterable<java.lang.String> $receiver) |
static java.time.Duration |
getDays(int $receiver) |
static java.time.Duration |
getDays(long $receiver) |
static java.time.Duration |
getHours(int $receiver) |
static java.time.Duration |
getHours(long $receiver) |
static java.time.Duration |
getMinutes(int $receiver) |
static java.time.Duration |
getMinutes(long $receiver) |
static java.time.Duration |
getSeconds(int $receiver) |
static java.time.Duration |
getSeconds(long $receiver) |
static java.util.Date |
getToDate(java.time.Instant $receiver) |
static java.time.Duration |
plus(java.time.Duration $receiver,
java.time.Duration other) |
static java.time.Instant |
plus(java.time.Instant $receiver,
java.time.Duration other) |
static java.util.Date |
plus(java.util.Date $receiver,
java.time.Duration other) |
static java.time.Duration |
times(java.time.Duration $receiver,
int other) |
public static void closeQuietly(java.io.Closeable $receiver)
Closes this quietly - if Closeable.close fails, an INFO message is logged. The exception is not rethrown.
public static java.util.Date getToDate(java.time.Instant $receiver)
public static java.util.List<java.lang.String> filterNotBlank(java.lang.Iterable<java.lang.String> $receiver)
public static java.time.Duration getDays(int $receiver)
public static java.time.Duration getDays(long $receiver)
public static java.time.Duration getHours(int $receiver)
public static java.time.Duration getHours(long $receiver)
public static java.time.Duration getMinutes(int $receiver)
public static java.time.Duration getMinutes(long $receiver)
public static java.time.Duration getSeconds(int $receiver)
public static java.time.Duration getSeconds(long $receiver)
public static java.time.Duration times(java.time.Duration $receiver,
int other)
public static java.time.Duration plus(java.time.Duration $receiver,
java.time.Duration other)
public static java.time.Instant plus(java.time.Instant $receiver,
java.time.Duration other)
public static java.util.Date plus(java.util.Date $receiver,
java.time.Duration other)