Skip to main content

DateShifter

  • Namespace: PPDS.Migration.Import
  • Assembly: PPDS.Migration
  • Kind: Class

Summary

Shifts date/time values based on the configured PPDS.Migration.Models.DateMode.

Members

Methods

Shift

Nullable<DateTime> Shift(Nullable<DateTime> value, DateMode mode, TimeSpan elapsed)

Shifts a date/time value based on the specified mode and elapsed time.

  • Param value: The original date/time value, or null.

  • Param mode: The date shifting mode.

  • Param elapsed: The elapsed time since the original export.

  • Returns: The shifted date/time value, or null if value is null.