Skip to content

← deprecated package

DateOperation

Perform one out of a range of supported date-related operations.

This can be used if time stamps need to be modified (e.g., shifted) by hours, days, and so on. Version 1.0.0

Ports/Properties

data

Data to process.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

as_float

Output as float. This is only set if the output has a single element. This is a convenience alternative to using CastPacketToFloat after this node.

  • verbose name: As Float
  • default value: None
  • port type: DataPort
  • value type: float (can be None)
  • data direction: OUT

operation

Type of operation to apply. Operations may have arguments, which can be given in the arguments and keyword_arguments parameters.

  • verbose name: Operation
  • default value: set-hour
  • port type: EnumPort
  • value type: str (can be None)

arguments

Positional arguments for operation.

  • verbose name: Arguments
  • default value: None
  • port type: ListPort
  • value type: list (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)