Skip to main content

DateTimeAssertions64Bit

Short summary

This class provides assert statements for 64 bit date and time LDT. It implements the interface I64BitDtAssertions

AccessAbstractFinalExtendsImplements
INTERNALNoNoAbstractAssertionI64BitDtAssertions

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 (LDT): current value to check
    • expectedValue (LDT): 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 (LDT): current value to check
    • lessValue (LDT): 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 (LDT): lower limit for the current value
    • currentValue (LDT): current value to check
    • upperLimit (LDT): 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 (LDT): current value to check
    • greaterValue (LDT): 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 (LDT): current value to check
    • maximumValue (LDT): 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 (LDT): current value to check
    • minimumValue (LDT): 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 (LDT): current value to check
    • unexpectedValue (LDT): 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 DateTimeAssertions64Bit EXTENDS AbstractAssertion IMPLEMENTS I64BitDtAssertions
VAR
END_VAR