Skip to content

← utilities package

ShiftDatestamp

Shift a datestamp by some offset.

This allows the datestamp to be offset by a specified number of years, months, days, and so forth. One may also shift to a different time zone (without changing the moment in time). Version 0.5.0

Ports/Properties

datestamp

Datestamp.

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

delta

Time.

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

years

Year offset.

  • verbose name: Years
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

months

Month offset.

  • verbose name: Months
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

weeks

Week offset.

  • verbose name: Weeks
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

days

Day offset.

  • verbose name: Days
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

hours

Hour offset.

  • verbose name: Hours
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

minutes

Minute offset.

  • verbose name: Minutes
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

seconds

Second offset.

  • verbose name: Seconds
  • default value: None
  • port type: FloatPort
  • value type: float (can be None)

microseconds

Microsecond offset.

  • verbose name: Microseconds
  • default value: None
  • port type: IntPort
  • value type: int (can be None)

timezone

Optionally the desired time zone into which to translate the datestamp. This will translate the same moment in time into the other time zone.

  • verbose name: In Time Zone
  • default value: keep
  • port type: ComboPort
  • value type: str

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)