Package org.somda.sdc.common.util
Interface AnyDateTime.Else<T>
- Type Parameters:
T- the date-time type to accept.
- Enclosing class:
- AnyDateTime
public static interface AnyDateTime.Else<T>
An alternative lambda to be executed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDefines what to do in an else case provoked byAnyDateTime.doIfLocal(Consumer)orAnyDateTime.doIfOffset(Consumer).
-
Method Details
-
orElse
Defines what to do in an else case provoked byAnyDateTime.doIfLocal(Consumer)orAnyDateTime.doIfOffset(Consumer).- Parameters:
consumer- the code to execute.
-