public class UnitComparator
extends java.lang.Object
| Constructor and Description |
|---|
UnitComparator() |
| Modifier and Type | Method and Description |
|---|---|
static Duration |
DurationAdd(Duration summand1,
Duration summand2)
Duration add.
|
static boolean |
DurationIsEqual(Duration comparer1,
Duration comparer2)
Duration is equal.
|
static boolean |
DurationIsGreaterThan(Duration comparer1,
Duration comparer2)
Duration is greater than.
|
static boolean |
DurationIsSmallerThan(Duration comparer1,
Duration comparer2)
Duration is smaller than.
|
static Duration |
DurationSubtract(Duration summand1,
Duration summand2)
Duration subtract.
|
static boolean |
EnergyFlowIsEqual(EnergyFlowInWatt comparer1,
EnergyFlowInWatt comparer2)
Energy flow is equal.
|
static boolean |
EnergyFlowIsGreaterThan(EnergyFlowInWatt comparer1,
EnergyFlowInWatt comparer2)
Energy flow is greater than.
|
static boolean |
EnergyFlowIsSmallerThan(EnergyFlowInWatt comparer1,
EnergyFlowInWatt comparer2)
Energy flow is smaller than.
|
public static Duration DurationAdd(Duration summand1, Duration summand2)
summand1 - the summand1summand2 - the summand2public static Duration DurationSubtract(Duration summand1, Duration summand2)
summand1 - the summand1summand2 - the summand2public static boolean DurationIsGreaterThan(Duration comparer1, Duration comparer2)
comparer1 - the comparer1comparer2 - the comparer2public static boolean DurationIsSmallerThan(Duration comparer1, Duration comparer2)
comparer1 - the comparer1comparer2 - the comparer2public static boolean DurationIsEqual(Duration comparer1, Duration comparer2)
comparer1 - the comparer1comparer2 - the comparer2public static boolean EnergyFlowIsGreaterThan(EnergyFlowInWatt comparer1, EnergyFlowInWatt comparer2)
comparer1 - the comparer1comparer2 - the comparer2public static boolean EnergyFlowIsSmallerThan(EnergyFlowInWatt comparer1, EnergyFlowInWatt comparer2)
comparer1 - the comparer1comparer2 - the comparer2public static boolean EnergyFlowIsEqual(EnergyFlowInWatt comparer1, EnergyFlowInWatt comparer2)
comparer1 - the comparer1comparer2 - the comparer2