DateTimeAssertions32Bit
Short summary
This class provides assert statements for 32 bit date and time DT.
It implements the interface I32BitDtAssertions
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| INTERNAL | No | No | AbstractAssertion | I32BitDtAssertions |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
Methods
valueIsEqualTo
- Parameters:
currentValue(DT): current value to checkexpectedValue(DT): expected value to comparemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is equal to the expected value…
valueIsGreaterThan
- Parameters:
currentValue(DT): current value to checklessValue(DT): less than lower limitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than the less value…
valueIsInRangeOf
- Parameters:
lowerLimit(DT): lower limit for the current valuecurrentValue(DT): current value to checkupperLimit(DT): upper limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is inside a limit…
valueIsLessThan
- Parameters:
currentValue(DT): current value to checkgreaterValue(DT): greater than upper limitmessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is less than the greater value…
valueIsMax
- Parameters:
currentValue(DT): current value to checkmaximumValue(DT): upper limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is less than or equal to the maximum value…
valueIsMin
- Parameters:
currentValue(DT): current value to checkminimumValue(DT): lower limit for the current valuemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is greater than or equal to the minimum value…
valueIsNotEqualTo
- Parameters:
currentValue(DT): current value to checkunexpectedValue(DT): unexpected value to comparemessage(AssertMessage): message if the assertion is false
- Return type:
VOID
This assertion method checks if the current value is not equal to the unexpected value…
Code
Declaration
{attribute 'reflection'}
FUNCTION_BLOCK INTERNAL DateTimeAssertions32Bit EXTENDS AbstractAssertion IMPLEMENTS I32BitDtAssertions
VAR
END_VAR