DateUnitOperable

public protocol DateUnitOperable

Supports addition and subtraction of Temporal.Date and Temporal.DateTime with DateUnit

  • Declaration

    Swift

    static func + (left: Self, right: DateUnit) -> Self
  • Declaration

    Swift

    static func - (left: Self, right: DateUnit) -> Self