Skip to main content

DateTimeAssertions32Bit

Short summary​

This class provides assert statements for 32 bit date and time DT. It implements the interface I32BitDtAssertions

AccessAbstractFinalExtendsImplements
INTERNALNoNoAbstractAssertionI32BitDtAssertions

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 check
    • expectedValue (DT): expected value to compare
    • message (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 check
    • lessValue (DT): less than lower limit
    • message (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 value
    • currentValue (DT): current value to check
    • upperLimit (DT): upper limit for the current value
    • message (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 check
    • greaterValue (DT): greater than upper limit
    • message (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 check
    • maximumValue (DT): upper limit for the current value
    • message (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 check
    • minimumValue (DT): lower limit for the current value
    • message (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 check
    • unexpectedValue (DT): unexpected value to compare
    • message (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